summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-09 17:57:46 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-09 17:57:46 +0100
commit7916735ba6890f67d49077975b0d635dc9931380 (patch)
tree7649ac35962e3c6382d7d1bee6eb9d44dd16303d /tools
parent9e0426da5fae3f565e44411ed8b9796acc81040d (diff)
downloadrsyslog-7916735ba6890f67d49077975b0d635dc9931380.tar.gz
rsyslog-7916735ba6890f67d49077975b0d635dc9931380.tar.xz
rsyslog-7916735ba6890f67d49077975b0d635dc9931380.zip
retain old $OMFileFlushOnTXEnd semantics
required because due to bug the default was actually different than specified (or better said: spec was inconsistent in doc as well).
Diffstat (limited to 'tools')
-rw-r--r--tools/omfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 9b8f8e37..8fbf8fea 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -99,7 +99,7 @@ static uid_t dirGID; /* GID to be used for newly created directories */
static int bCreateDirs = 1;/* auto-create directories for dynaFiles: 0 - no, 1 - yes */
static int bEnableSync = 0;/* enable syncing of files (no dash in front of pathname in conf): 0 - no, 1 - yes */
static int iZipLevel = 0; /* zip compression mode (0..9 as usual) */
-static bool bFlushOnTXEnd = 1;/* flush write buffers when transaction has ended? */
+static bool bFlushOnTXEnd = 0;/* flush write buffers when transaction has ended? */
static int64 iIOBufSize = IOBUF_DFLT_SIZE; /* size of an io buffer */
static int iFlushInterval = FLUSH_INTRVL_DFLT; /* how often flush the output buffer on inactivity? */
uchar *pszFileDfltTplName = NULL; /* name of the default template to use */
@@ -749,7 +749,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
bCreateDirs = 1;
bEnableSync = 0;
iZipLevel = 0;
- bFlushOnTXEnd = 1;
+ bFlushOnTXEnd = 0;
iIOBufSize = IOBUF_DFLT_SIZE;
iFlushInterval = FLUSH_INTRVL_DFLT;
if(pszFileDfltTplName != NULL) {