summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-28 09:49:07 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-28 09:49:07 +0200
commit3a4f679c3b21634ae42534b255d4de0d4f1e4543 (patch)
tree56de772065671320fb71254e01811ccb8a177086 /syslogd.c
parentca14951cd3caece93a0ad9d678c5dce8e26fd869 (diff)
downloadrsyslog-3a4f679c3b21634ae42534b255d4de0d4f1e4543.tar.gz
rsyslog-3a4f679c3b21634ae42534b255d4de0d4f1e4543.tar.xz
rsyslog-3a4f679c3b21634ae42534b255d4de0d4f1e4543.zip
perparing for klog debug
... and some cleanup
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/syslogd.c b/syslogd.c
index bf4f5e67..f4ac2080 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1572,8 +1572,7 @@ submitMsg(msg_t *pMsg)
}
-/*
- * Log a message to the appropriate log files, users, etc. based on
+/* Log a message to the appropriate log files, users, etc. based on
* the priority.
* rgerhards 2004-11-08: actually, this also decodes all but the PRI part.
* rgerhards 2004-11-09: ... but only, if syslogd could properly be initialized
@@ -2233,12 +2232,12 @@ init(void)
tplDeleteNew();
/* re-setting values to defaults (where applicable) */
- /* TODO: once we have loadable modules, we must re-visit this code. The reason is
+ /* once we have loadable modules, we must re-visit this code. The reason is
* that config variables are not re-set, because the module is not yet loaded. On
* the other hand, that doesn't matter, because the module got unloaded and is then
- * re-loaded, so the variables should be re-set via that way. In any case, we should
- * think about the whole situation when we implement loadable plugins.
- * rgerhards, 2007-07-31
+ * re-loaded, so the variables should be re-set via that way. And this is exactly how
+ * it works. Loadable module's variables are initialized on load, the rest here.
+ * rgerhards, 2008-04-28
*/
conf.cfsysline((uchar*)"ResetConfigVariables");