summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-22 10:18:45 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-22 10:18:45 +0000
commit916449ce6e04c3238b65679ab6d92dfc8f5a211c (patch)
treed7752c7a7a274ba1e4fe3e4ec4528b5d3cfd9222 /syslogd.c
parente38d58bc743fe0c80789c5954488fdd54680f72a (diff)
downloadrsyslog-916449ce6e04c3238b65679ab6d92dfc8f5a211c.tar.gz
rsyslog-916449ce6e04c3238b65679ab6d92dfc8f5a211c.tar.xz
rsyslog-916449ce6e04c3238b65679ab6d92dfc8f5a211c.zip
changed interface, now is updated by rule engine
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 929a3df5..aaacd983 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4370,7 +4370,7 @@ void fprintlog(register selector_t *f)
case F_TTY:
case F_FILE:
case F_PIPE:
- dprintf(" (%s)\n", f->f_un.f_file.f_fname);
+ printf(" (%s)\n", f->f_un.f_file.f_fname);
f->f_time = now; /* we need this for message repeation processing */
/* f->f_file == -1 is an indicator that the we couldn't
* open the file at startup. For dynaFiles, this is ok,
@@ -4382,16 +4382,19 @@ void fprintlog(register selector_t *f)
case F_USERS:
case F_WALL:
+ f->f_time = now;
doActionUsrMsg(f, now);
break;
#ifdef WITH_DB
case F_MYSQL:
+ f->f_time = now;
doActionMySQL(f, now);
break;
#endif
case F_SHELL: /* shell support by bkalkbrenner 2005-09-20 */
+ f->f_time = now;
doActionShell(f, now);
break;