summaryrefslogtreecommitdiffstats
path: root/src/plugins/abrt-action-print.txt
blob: 200ea6719273938fa8c7c8540a59765a0ef26492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
abrt-action-print(1)
====================

NAME
----
abrt-action-print - Prints problem information to standard output or FILE.

SYNOPSIS
--------
'abrt-action-print' [-v] [-d DIR] [-o FILE] [-a yes/no] [-r]

DESCRIPTION
-----------
The tool reads dump directory DIR and prints its text representation
to stdout or to a specified FILE.

Integration with ABRT events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'abrt-action-print' can be used as a reporter, to allow users
to report problems by writinf them to a file. Example:

------------
EVENT=report  abrt-action-print -o "${Log_File:-/tmp/abrt.log}"
------------

OPTIONS
-------
-d DIR::
   Path to dump directory.

-v::
   Be more verbose. Can be given multiple times.

-o FILE::
   Output file

-a yes/no::
   If -o FILE is specified, controls whether FILE is appended to, or overwritten.

-r::
   Add a recor to 'reported_to' in DIR which specifies that this problem
   was reported. Some tools use this to differentiate between problems
   which were and weren't yet reported.

Output format
~~~~~~~~~~~~~
The output is designed to be machine-parseable. The elements which have only
one line are printed in the form

   NAME:<whitespace>VALUE

Elements which have more than one line are printed in the form

   NAME:
   :LINE1
   :LINE2
   :LINE3

Output may contain empty lines for better readability.

AUTHORS
-------
* ABRT team