Re: [rsyslog] Equivalent omfile action to a file prefixed by '-'?

2022-09-29 Thread David Lang via rsyslog
to just write the log out David Lang On Thu, 29 Sep 2022, Gordon Marler (BLOOMBERG/ 120 PARK) wrote: Date: Thu, 29 Sep 2022 23:17:30 - From: "Gordon Marler (BLOOMBERG/ 120 PARK)" To: rsyslog@lists.adiscon.com Cc: da...@lang.hm Subject: Re: [rsyslog] Equivalent omfile action to a fil

Re: [rsyslog] Equivalent omfile action to a file prefixed by '-'?

2022-09-29 Thread Gordon Marler (BLOOMBERG/ 120 PARK) via rsyslog
omfile action to a file prefixed by '-'? it is possible to get the 'unbuffered' mode, but you have to work hard to do it and the performance will utterly suck (even if you have a battery-backed-ramdisk, the system calls and serialization will cripple your performance) I think this has been

Re: [rsyslog] Equivalent omfile action to a file prefixed by '-'?

2022-09-29 Thread David Lang via rsyslog
, around 20 years ago. David Lang On Fri, 30 Sep 2022, Rainer Gerhards via rsyslog wrote: Date: Fri, 30 Sep 2022 00:02:28 +0200 From: Rainer Gerhards via rsyslog To: rsyslog-users Cc: Rainer Gerhards Subject: Re: [rsyslog] Equivalent omfile action to a file prefixed by '-'? The - does not throw

Re: [rsyslog] Equivalent omfile action to a file prefixed by '-'?

2022-09-29 Thread Rainer Gerhards via rsyslog
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 schrieb am Do., 29. Sep. 2022, 23:25: > If I am not mistaken, buffering is the

Re: [rsyslog] Equivalent omfile action to a file prefixed by '-'?

2022-09-29 Thread John Chivian via rsyslog
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 > wrote: > > In the old style of rsyslog configuration,

[rsyslog] Equivalent omfile action to a file prefixed by '-'?

2022-09-29 Thread Gordon Marler (BLOOMBERG/ 120 PARK) via rsyslog
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