In the old style of rsyslog configuration, you can say that you want to buffer
a file, rather than flush it after every write, with syntax like this
(prefixing the filename with '-'):
local4.info -/var/log/mylog
Reading the documentation of the omfile Output Module, I don't see an exact way
to specify the exact same end result documented, such that you could write
something like:
local4.info {
action( type="omfile" file="/var/log/mylog" ...)
}
I see all the following, but not sure of the exact combined config to equate to
the old syntax:
* flushInterval
* asyncWriting
* flushOnTxEnd
* ioBufferSize
* sync
Thanks for any insight into achieving this goal.
GM
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.