From cd7c20cef11a08baa238d98447569b162ba78ff1 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Thu, 10 Mar 2011 13:10:24 +0100 Subject: added default configuration for report_Bugzilla event --- src/plugins/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 4548c67c..28a5504f 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -41,7 +41,8 @@ dist_pluginsconf_DATA = \ eventsdir = $(EVENTS_DIR) dist_events_DATA = \ - report_Bugzilla.xml + report_Bugzilla.xml \ + report_Bugzilla.conf eventsconfdir = $(EVENTS_CONF_DIR) -- cgit From 3e5a7859cccf49acbb0bdd3ca841545e5ab0f4c5 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Thu, 10 Mar 2011 15:52:48 +0100 Subject: added forgotten report_Bugzilla.conf --- src/plugins/report_Bugzilla.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/plugins/report_Bugzilla.conf (limited to 'src/plugins') diff --git a/src/plugins/report_Bugzilla.conf b/src/plugins/report_Bugzilla.conf new file mode 100644 index 00000000..0a18c07a --- /dev/null +++ b/src/plugins/report_Bugzilla.conf @@ -0,0 +1,4 @@ +Bugzilla_BugzillaURL = http://bugzilla.redhat.com +Bugzilla_Login = +Bugzilla_Password = +Bugzilla_SSLVerify = yes -- cgit 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/plugins/Makefile.am | 3 ++- src/plugins/abrt-action-print.c | 8 ++------ src/plugins/ccpp_events.conf | 1 - src/plugins/report_Logger.conf | 1 + 4 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 src/plugins/report_Logger.conf (limited to 'src/plugins') diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 28a5504f..86788e8c 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -42,7 +42,8 @@ eventsdir = $(EVENTS_DIR) dist_events_DATA = \ report_Bugzilla.xml \ - report_Bugzilla.conf + report_Bugzilla.conf \ + report_Logger.conf eventsconfdir = $(EVENTS_CONF_DIR) diff --git a/src/plugins/abrt-action-print.c b/src/plugins/abrt-action-print.c index cc7fbb34..a5d7219b 100644 --- a/src/plugins/abrt-action-print.c +++ b/src/plugins/abrt-action-print.c @@ -56,12 +56,8 @@ int main(int argc, char **argv) putenv(xasprintf("ABRT_VERBOSE=%u", g_verbose)); //msg_prefix = PROGNAME; - char *env = getenv("Logger_LogPath"); - VERB3 log("output_file:'%s' Logger_LogPath env:'%s'", output_file, env); - if (env) - output_file = env; - - env = getenv("Logger_AppendLogs"); +//TODO: convert to an option: + char *env = getenv("Logger_AppendLogs"); VERB3 log("Logger_AppendLogs env:'%s'", env); if (env && string_to_bool(env)) open_mode = "a"; diff --git a/src/plugins/ccpp_events.conf b/src/plugins/ccpp_events.conf index cbeb8acf..b9f3d9ab 100644 --- a/src/plugins/ccpp_events.conf +++ b/src/plugins/ccpp_events.conf @@ -16,4 +16,3 @@ EVENT=reanalyze_Local analyzer=CCpp abrt-action-generate-backtrace EVENT=reanalyze_RetraceServer analyzer=CCpp abrt-retrace-client batch -k --dir "$DUMP_DIR" EVENT=report_Bugzilla analyzer=CCpp abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf -EVENT=report_Logger analyzer=CCpp abrt-action-print -o /var/log/abrt.log diff --git a/src/plugins/report_Logger.conf b/src/plugins/report_Logger.conf new file mode 100644 index 00000000..3d23c739 --- /dev/null +++ b/src/plugins/report_Logger.conf @@ -0,0 +1 @@ +Log_File=/var/log/abrt.log -- cgit