summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2011-03-10 18:10:56 +0100
committerKarel Klic <kklic@redhat.com>2011-03-10 18:20:52 +0100
commitf8b33e5dfb5385020c865a017a6f5c707e2a79b1 (patch)
tree4aec97f7f7ecff7e96db1ce2777e96beeeb65b55 /src/plugins
parent77bb7ac8f771817c4cd2111ab7e5ff529ec27ef7 (diff)
parentb798e84abdbdfcf330475da675ad3287a3b79daa (diff)
downloadabrt-f8b33e5dfb5385020c865a017a6f5c707e2a79b1.tar.gz
abrt-f8b33e5dfb5385020c865a017a6f5c707e2a79b1.tar.xz
abrt-f8b33e5dfb5385020c865a017a6f5c707e2a79b1.zip
merge
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Makefile.am2
-rw-r--r--src/plugins/abrt-action-print.c8
-rw-r--r--src/plugins/ccpp_events.conf1
-rw-r--r--src/plugins/report_Bugzilla.conf4
-rw-r--r--src/plugins/report_Logger.conf1
5 files changed, 9 insertions, 7 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index ff052b53..114321c0 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -42,6 +42,8 @@ eventsdir = $(EVENTS_DIR)
dist_events_DATA = \
report_Bugzilla.xml \
+ report_Bugzilla.conf \
+ report_Logger.conf \
analyze_LocalGDB.xml \
analyze_RetraceServer.xml
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 0cb2abe9..2e1badee 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_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
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