diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-19 09:42:46 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-19 09:42:46 +0100 |
commit | 89216d6a96ea5f6d1fa9893d56fa877a2131d390 (patch) | |
tree | 9dd547e22ac13397762ceed15dad1694258cea67 /runtime/stream.c | |
parent | 9cdcba0bdc8b8d2df8d06784f3c4f0066c90fd40 (diff) | |
download | rsyslog-89216d6a96ea5f6d1fa9893d56fa877a2131d390.tar.gz rsyslog-89216d6a96ea5f6d1fa9893d56fa877a2131d390.tar.xz rsyslog-89216d6a96ea5f6d1fa9893d56fa877a2131d390.zip |
fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fixtemp.4.6.1.10
The previous fix fixed an issue with on/off bying used in the exact wrong
semantic. It corrected the situation, but failed to fix one spot where the
wrong semantics were used. This is done with this commit.
Note that this is NOT a bug seen in any released version.
Diffstat (limited to 'runtime/stream.c')
-rw-r--r-- | runtime/stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/stream.c b/runtime/stream.c index e2f6623e..bfeecee5 100644 --- a/runtime/stream.c +++ b/runtime/stream.c @@ -641,6 +641,9 @@ static rsRetVal strmConstructFinalize(strm_t *pThis) } } + DBGPRINTF("file stream %s params: flush interval %d, async write %d\n", + (pThis->pszFName == NULL) ? "N/A" : (char*)pThis->pszFName, + pThis->iFlushInterval, pThis->bAsyncWrite); /* if we have a flush interval, we need to do async writes in any case */ if(pThis->iFlushInterval != 0) { pThis->bAsyncWrite = 1; |