in reply to debugging strategy?

As hossman points out a __DIE__ handler would be helpful since I noticed you do have some die's but you are only sending the message to STDERR not to your log files.

It also looks like you started to use syslogd, but stopped to use your own logfiles. I would recommend going to syslogd and you'll be able to get away from some of the pitfalls with straight logfiles(e.g. multiple instances of you program, disk space, permissions, not able to remotely monitor without NFS). There are some CPAN modules for a OO interface to syslogd: Net::Syslog Tie::Syslog Unix::Syslog



grep
grep> cd /pub
grep> more beer

Replies are listed 'Best First'.
Re: Re: debugging strategy?
by mbr (Sexton) on Mar 17, 2002 at 06:34 UTC
    Maybe I should use syslogd to print diagnostic info? That would make better sense than my current strategy. I started to use Sys::Syslog but didn't really stick with it sense at the time there seemed to be some problems using with with perl-5.005_03. I should definitely revisit this. Thanks.