by default, rsyslog always buffers logs and doesn't sync after each message, so the - is ignored.

David Lang

On Wed, 11 Sep 2019, Brian Candler via rsyslog wrote:

Date: Wed, 11 Sep 2019 14:55:55 +0100
From: Brian Candler via rsyslog <[email protected]>
To: Brian Candler via rsyslog <[email protected]>
Cc: Brian Candler <[email protected]>
Subject: [rsyslog] omfile flushing behaviour

Another minor question.

In legacy format, you may prefix each entry with the minus "-" sign to omit syncing the file after every logging.

What's the equivalent when directly using omfile?  Is it flushOnTXEnd="off", or sync="off"? (the latter is default anyway)

Thanks,

Brian.

_______________________________________________
rsyslog mailing list
http://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
http://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.

Reply via email to