summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-19 14:25:27 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-19 14:25:27 +0200
commit953d015f440224321796105464294006838b5302 (patch)
tree0f8401957af4b7adbbf6120f7a224cffd632de63 /tools
parentcbad28915a847d9ad461d8099e90ad7903d537a3 (diff)
downloadrsyslog-953d015f440224321796105464294006838b5302.tar.gz
rsyslog-953d015f440224321796105464294006838b5302.tar.xz
rsyslog-953d015f440224321796105464294006838b5302.zip
switched default to keep in line with traditional syslogd behaviour
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 675d313e..b62d9c57 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -102,7 +102,7 @@ static uid_t dirGID; /* GID to be used for newly created directories */
static int bCreateDirs; /* 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 = 0;/* flush write buffers when transaction has ended? */
+static bool bFlushOnTXEnd = 1;/* flush write buffers when transaction has ended? */
static int iIOBufSize = IOBUF_DFLT_SIZE; /* size of an io buffer */
static int iFlushInterval = FLUSH_INTRVL_DFLT; /* how often flush the output buffer on inactivity? */
static uchar *pszTplName = NULL; /* name of the default template to use */
@@ -715,7 +715,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
bCreateDirs = 1;
bEnableSync = 0;
iZipLevel = 0;
- bFlushOnTXEnd = 0;
+ bFlushOnTXEnd = 1;
iIOBufSize = IOBUF_DFLT_SIZE;
iFlushInterval = FLUSH_INTRVL_DFLT;
if(pszTplName != NULL) {