diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-15 15:26:46 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-15 15:26:46 +0100 |
commit | f6d4f46eb539a78ecf12ecc02e700d59b5f0b748 (patch) | |
tree | 596a56d80dd2ff94ffaf79488e8088b8e64d15b7 | |
parent | 4044db40ff10e694c2ab85aa24104a015858303d (diff) | |
parent | 88e6919d9db48c54b532698a8351c93356d11307 (diff) | |
download | rsyslog-f6d4f46eb539a78ecf12ecc02e700d59b5f0b748.tar.gz rsyslog-f6d4f46eb539a78ecf12ecc02e700d59b5f0b748.tar.bz2 rsyslog-f6d4f46eb539a78ecf12ecc02e700d59b5f0b748.zip |
Merge branch 'v7-devel'
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 6 |
2 files changed, 11 insertions, 1 deletions
@@ -40,6 +40,12 @@ Version 7.5.7 [devel] 2013-11-?? Thanks to Pavel Levshin for the enhancement. - now emit warning message if om with msg passing mode uses action queue These can modify the message, and this causes races. +- bugfix: $SystemLogUseSysTimeStamp/$SystemLogUsePIDFromSystem did not work + Thanks to Tomas Heinrich for the patch. +--------------------------------------------------------------------------- +Version 7.4.7 [v7.4-stable] 2013-11-?? +- bugfix: $SystemLogUseSysTimeStamp/$SystemLogUsePIDFromSystem did not work + Thanks to Tomas Heinrich for the patch. - improved checking of queue config parameters on startup - bugfix: call to ruleset with async queue did not use the queue closes: http://bugzilla.adiscon.com/show_bug.cgi?id=443 diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index 01e07524..4b3556b1 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -159,11 +159,11 @@ static int nfd = 1; /* number of active unix sockets (socket 0 is always reserv socket, even if it is not enabled. */ static int sd_fds = 0; /* number of systemd activated sockets */ -/* config vars for legacy config system */ #define DFLT_bCreatePath 0 #define DFLT_ratelimitInterval 0 #define DFLT_ratelimitBurst 200 #define DFLT_ratelimitSeverity 1 /* do not rate-limit emergency messages */ +/* config vars for the legacy config system */ static struct configSettings_s { int bOmitLocalLogging; uchar *pLogSockName; @@ -188,6 +188,7 @@ static struct configSettings_s { int bParseTrusted; /* parse trusted properties */ } cs; +/* config vars for the v2 config system (rsyslog v6+) */ struct instanceConf_s { uchar *sockName; uchar *pLogHostName; /* host name to use with this socket */ @@ -1248,11 +1249,14 @@ BEGINendCnfLoad CODESTARTendCnfLoad if(!loadModConf->configSetViaV2Method) { /* persist module-specific settings from legacy config system */ + /* these are used to initialize the system log socket (listeners[0]) */ loadModConf->bOmitLocalLogging = cs.bOmitLocalLogging; loadModConf->pLogSockName = cs.pLogSockName; loadModConf->bIgnoreTimestamp = cs.bIgnoreTimestampSysSock; + loadModConf->bUseSysTimeStamp = cs.bUseSysTimeStampSysSock; loadModConf->bUseFlowCtl = cs.bUseFlowCtlSysSock; loadModConf->bAnnotateSysSock = cs.bAnnotateSysSock; + loadModConf->bWritePidSysSock = cs.bWritePidSysSock; loadModConf->bParseTrusted = cs.bParseTrusted; loadModConf->ratelimitIntervalSysSock = cs.ratelimitIntervalSysSock; loadModConf->ratelimitBurstSysSock = cs.ratelimitBurstSysSock; |