The - does not throw a syntax error, but is ignored for many years. iIRC it caused a sync after each write, which would be crazy for actual systems.
Rainer Sent from phone, thus brief. John Chivian via rsyslog <rsyslog@lists.adiscon.com> schrieb am Do., 29. Sep. 2022, 23:25: > If I am not mistaken, buffering is the default in the new syntax such that > it is not necessary to state it explicitly. The maintainers will know for > sure. > > > > > On Sep 29, 2022, at 15:54, Gordon Marler (BLOOMBERG/ 120 PARK) via > rsyslog <rsyslog@lists.adiscon.com> wrote: > > > > 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. > > _______________________________________________ > 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. > _______________________________________________ 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.