I use logger a lot (a couple hundred servers writing a few dozen lines of
logs each every minute) and have never run into a problem of it now
showing up in the log.
syncing should only matter if the system crashes, normal operation should
not need syncing enabled (and enabling it will cripple your performance)
David Lang
On Thu, 17 May 2012, Julio Lajara wrote:
Date: Thu, 17 May 2012 02:01:59 -0400
From: Julio Lajara <[email protected]>
Reply-To: [email protected], rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: Re: [rsyslog] rsyslog-5.8.11 omit syncing is always on?
Hi Rainer,
Im not sure if its caused by the same thing as OP below, but I have this same
issue with 5.8.10 that ive been working through for the past few hours where
any messages sent with 'logger' are extremely delayed or disappear into the
ether all together. Its happening with a default unmodified config.
I have a set of bash functions I use and I have a generic log function that
uses 'logger' to send detailed output to syslog, but even after having ran
commands for about 4 hrs theres tons of missing messages in
/var/log/messages. Only when I enabled '$ActionFileEnableSync on' do all the
log messages start appearing normally. Is that supposed to be normal
behavior? I was under the impression from the comment on this setting that
the messages would be delayed since it was related to rsyslog forcing a sync
on write, not lost (from what I can tell).
Thanks,
On 05/04/2012 12:12 PM, Rainer Gerhards wrote:
-----Original Message-----
From: [email protected] [mailto:rsyslog-
[email protected]] On Behalf Of Marcin Miroslaw
Sent: Friday, May 04, 2012 4:34 PM
To: [email protected]
Subject: Re: [rsyslog] rsyslog-5.8.11 omit syncing is always on?
W dniu 2012-05-04 13:00, Rainer Gerhards pisze:
Can you provide me a debug log (private mail is OK)? I just re-tried
it, and
everything works for me. Probably environment-induced, in which case
the
debug log should shed some light...
When i run rsyslog in debug mode ( LC_ALL="en_US.utf.8"
RSYSLOG_DEBUG="debug PrintFuncDB PrintMutexAction" rsyslogd -c5 -dn
rsyslogd.deb.log ), problem didn't occur :(
Mhhh, that's bad. Can you set RSYSLOG_DEBUG just to "debug" but nothing
else?
Maybe this helps...
Probably it also explains why I don't see the issue.
Rainer
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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