Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Best method for opening/using a log

by targetsmart (Curate)
on Jun 17, 2009 at 07:25 UTC ( #772263=note: print w/replies, xml ) Need Help??

in reply to Best method for opening/using a log

if there is a logging module that is heavily recommended.
I don't have a benchmark statistics or a pros and cons comparison chart to recommend the best one.
but below are the ones I use often. "I don't want to re-invent the wheel"

I have looked at some of the descriptions for the various logging modules on CPAN, and they all seem like overkill for the very basic logging I want to do.
one thing you have to understand, the process of logging will start with a small requirement , 'just to get some debug trace', but when there are too many debug statements to be logged, the log grows huge, and when your application is a long running program, then you are in deep trouble, you will need log rotation, and it goes on like this. I am sure that your requirement will grow :)
so better understand the log:: modules available on CPAN and get used to the one which suits your requirement.

-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.
  • Comment on Re: Best method for opening/using a log

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://772263]
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-04-22 21:07 GMT
Find Nodes?
    Voting Booth?