summaryrefslogtreecommitdiffstats
path: root/plugins/immark
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:58:12 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:58:12 +0000
commite45bbf5c66b5cb08c91bdb99ba1acf5f215c3112 (patch)
tree60d91c5ece80f8025a44484d674dbdcc3825faaa /plugins/immark
parent8d186b303650c1d942543e28fdf8cf28a451f438 (diff)
downloadrsyslog-e45bbf5c66b5cb08c91bdb99ba1acf5f215c3112.tar.gz
rsyslog-e45bbf5c66b5cb08c91bdb99ba1acf5f215c3112.tar.xz
rsyslog-e45bbf5c66b5cb08c91bdb99ba1acf5f215c3112.zip
graceful termination now supported
Diffstat (limited to 'plugins/immark')
-rw-r--r--plugins/immark/immark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/immark/immark.c b/plugins/immark/immark.c
index a43ea61e..3078958b 100644
--- a/plugins/immark/immark.c
+++ b/plugins/immark/immark.c
@@ -43,6 +43,7 @@
#include "module-template.h"
MODULE_TYPE_INPUT
+TERM_SYNC_TYPE(eTermSync_SIGNAL)
/* Module static data */
/* TODO: this needs a lot of work ;) */
@@ -84,7 +85,7 @@ dbgprintf("immark post select, doing mark, bFinished: %d\n", bFinished);
logmsgInternal(LOG_INFO, "-- MARK --", ADDDATE);
//logmsgInternal(LOG_INFO, "-- MARK --", ADDDATE|MARK);
}
-fprintf(stderr, "immark: finished!\n");
+dbgprintf("immark: finished!\n");
return RS_RET_OK;
ENDrunInput