Skip Menu |

This queue is for tickets about the Sys-Syslog CPAN distribution.

Report information
The Basics
Id: 28301
Status: resolved
Priority: 0/
Queue: Sys-Syslog

People
Owner: Nobody in particular
Requestors: corleyb [...] spawar.navy.mil
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Sys-Syslog-0.18 and SunOS
Date: Mon, 16 Jul 2007 15:17:42 -0400
To: bug-Sys-Syslog [...] rt.cpan.org
From: Bert Corley <corleyb [...] spawar.navy.mil>
Distribution name and version: Sys-Syslog-0.18 Perl version: 5.8.8 Operating System vendor and version: SunOS 5.9 Description: When executing the code below the host entry is recorded in SysLog as "<30>Jul" and the message entry as "14 01:06:05 SomeProgram: Some Message". Consequently, the datetime is recorded as "2007-07-14 01:06:05". Also, apparently this is an issue with SunOS as the same code, module version, and Perl version work on various versions of Linux that I've tried. Also, I've also tried just "setlogsock(['stream']);" below as well since the documentation states "For example Solaris and IRIX system may prefer 'stream' instead of 'unix'". use Sys::Syslog qw(:DEFAULT setlogsock); setlogsock(['unix','stream']); openlog('SomeProgram', '', 'user'); syslog('info', 'Some Message'); closelog;
Subject: Re: [rt.cpan.org #28301] AutoReply: Sys-Syslog-0.18 and SunOS
Date: Mon, 16 Jul 2007 15:47:33 -0400
To: bug-Sys-Syslog [...] rt.cpan.org
From: Bert Corley <corleyb [...] spawar.navy.mil>
Sorry for the confusion and the creation of this bug report but this has been resolved by removing the setlogsock call in the code listed below. Please close this report. Thanks. Bugs in Sys-Syslog via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Sys-Syslog-0.18 and SunOS", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #28301]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=28301 > > Please include the string: > > [rt.cpan.org #28301] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Sys-Syslog@rt.cpan.org > > ------------------------------------------------------------------------- > Distribution name and version: Sys-Syslog-0.18 > Perl version: 5.8.8 > Operating System vendor and version: SunOS 5.9 > Description: When executing the code below the host entry is recorded > in SysLog as "<30>Jul" and the message entry as "14 01:06:05 > SomeProgram: Some Message". Consequently, the datetime is recorded as > "2007-07-14 01:06:05". Also, apparently this is an issue with SunOS as > the same code, module version, and Perl version work on various versions > of Linux that I've tried. Also, I've also tried just > "setlogsock(['stream']);" below as well since the documentation states > "For example Solaris and IRIX system may prefer 'stream' instead of 'unix'". > > use Sys::Syslog qw(:DEFAULT setlogsock); > setlogsock(['unix','stream']); > openlog('SomeProgram', '', 'user'); > syslog('info', 'Some Message'); > closelog; > >
Subject: Re: [rt.cpan.org #28301] AutoReply: Sys-Syslog-0.18 and SunOS
Date: Mon, 16 Jul 2007 23:01:21 +0200
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Show quoted text
> Sorry for the confusion and the creation of this bug report but > this has > been resolved by removing the setlogsock call in the code listed > below.
... and people don't believe me when I tell then not to use this function... Show quoted text
> Please close this report. Thanks.
You're welcome. Thanks for using Perl and Sys::Syslog :-) -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.