Syslog messes up with ident
---------------------------
Key: JRUBY-3013
URL: http://jira.codehaus.org/browse/JRUBY-3013
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.4
Environment: Debian etch, x86, Sun Java 1.6, Ruby 1.8.7, JRuby 1.1.4
with this minor patch http://svn.jruby.codehaus.org/rdiff/jruby?csid=7613 (I
had figured this out independently ;-) )
Reporter: Pablo Lorenzzoni
Assignee: Thomas E Enebo
I am using a syslog instance, created like this:
{quote}
syslog = Syslog.open('myrep', Syslog::LOG_PID, Syslog::LOG_MAIL)
{quote}
At apparently random intervals, syslog messes up with ident (first arg to
#open) when writing log messages. This is a sample:
{quote}
Sep 24 16:38:36 erebor myrep[25186]: MyRep Daemon
Sep 24 16:38:36 erebor myrep[25186]: Configuration: verbose = true / threshold
= 0.0
Sep 24 16:39:00 erebor \237Çë- \220õÁ- [25186]: Entered attribute 1
Sep 24 16:39:00 erebor \237Çë- \220õÁ- [25186]: Entered attribute 2
....
Sep 24 17:11:09 erebor Èmݵ^A[25186]: Entered attribute 1349
Sep 24 17:11:09 erebor Èmݵ^A[25186]: Entered attribute 1350
Sep 24 17:11:09 erebor Èmݵ^A[25186]: Entered attribute 1351
{quote}
The pid is still the same (since it keeps running), but the ident (*myrep*) was
changed to some non-printable string at 16:39... then again at 17:11.
It seems unrelated to the priority I use, and it can happen anytime, even at
the first log message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email