diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-10 17:08:06 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-10 17:08:06 +0100 |
commit | b798e84abdbdfcf330475da675ad3287a3b79daa (patch) | |
tree | 86c59b8f212c4c4d7d85bec84363d8d2ca9567d0 /src/daemon | |
parent | 3e5a7859cccf49acbb0bdd3ca841545e5ab0f4c5 (diff) | |
download | abrt-b798e84abdbdfcf330475da675ad3287a3b79daa.tar.gz abrt-b798e84abdbdfcf330475da675ad3287a3b79daa.tar.xz abrt-b798e84abdbdfcf330475da675ad3287a3b79daa.zip |
make report_Logger configurable
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/abrt_event.conf | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf index 45d8e9a4..191782c1 100644 --- a/src/daemon/abrt_event.conf +++ b/src/daemon/abrt_event.conf @@ -16,9 +16,6 @@ # Rule of the form "include GLOB_PATTERN" recurses to each file which matches # GLOB_PATTERN. Example: "include post-create.d/*.conf" # - -include events.d/*.conf - # Any other rules specify which programs to run on the crash dump. # # Each rule may have conditions to be checked before the program is run. @@ -42,18 +39,25 @@ include events.d/*.conf # If the program terminates successfully, next rule is read # and processed. This process is repeated until the end of this file. -# abrt-action-analyze-c needs package name, save package data first +# abrt-action-analyze-c needs package name, save package data +# before include directive EVENT=post-create abrt-action-save-package-data + +include events.d/*.conf + EVENT=post-create getent passwd "`cat uid`" | cut -d: -f1 >username EVENT=post-create analyzer=Python abrt-action-analyze-python EVENT=post-create analyzer=Kerneloops abrt-action-analyze-oops + # If you want all users (not just root) to be able to see oopses: #EVENT=post-create analyzer=Kerneloops echo 1 >inform_all_users + # If you want behavior similar to one provided by kerneloops daemon # distributed by kerneloops.org - that is, if you want # oopses to be reported automatically and immediately without # user interaction, uncomment this line: #EVENT=post-create analyzer=Kerneloops abrt-action-kerneloops + # Example: if you want to save sosreport immediately at the moment of a crash: #EVENT=post-create nice sosreport --tmp-dir "$DUMP_DIR" --batch \ @@ -69,6 +73,7 @@ EVENT=post-create analyzer=Kerneloops abrt-action-analyze-oops true } 2>/dev/null + EVENT=report analyzer=Kerneloops abrt-action-kerneloops EVENT=report_Bugzilla analyzer=Python abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf -EVENT=report_Logger analyzer=Python abrt-action-print -o /var/log/abrt.log +EVENT=report_Logger abrt-action-print -o "${Log_File:-/var/log/abrt.log}" |