On Fri, May 18, 2012 at 22:52:10 +0300 , Abid Khwaja wrote:
> 
> On May 18, 2012, at 9:21 PM, Shlomi Fish wrote:
> 
> > I read the MetaCPAN page for Tie::Syslog and it appears to not had a release
> > since 2002 and it has two open 3-year old bugs. Maybe you should use a 
> > better
> > maintained module. There are plenty in this search:
> > 
> > https://metacpan.org/search?q=syslog
> > 
> 
> Thanks, too bad though, tieing to a filehandle is soooo convenient.

It's also clever. Logging is systems code. Systems code needs to be as
simple and failproof as possible so that your sysad doesn't develop a
grudge towards you after trying to find the logs after being woken up at
3AM only to find empty logfiles because your logging code was too clever
to work properly.

Suggest something like Log::Dispatch(::Syslog) which is battle-tested,
reasonably solid, and satisfies the syslog requirement (the fact the
maintainer is pingable via IRC helps a lot, too).

-- 
Chris Nehren           | Coder, Sysadmin, Masochist
Shadowcat Systems Ltd. | http://shadowcat.co.uk/

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to