From b798e84abdbdfcf330475da675ad3287a3b79daa Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 10 Mar 2011 17:08:06 +0100 Subject: make report_Logger configurable Signed-off-by: Denys Vlasenko --- src/daemon/abrt_event.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/daemon') 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}" -- cgit