Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: When to use logging and why?

by Theo (Priest)
on Nov 13, 2003 at 16:17 UTC ( [id://306828]=note: print w/replies, xml ) Need Help??


in reply to When to use logging and why?

As DaWolf pointed out, this has been a great learning experience, for me at least. I started to ask how large should the log files be allowed to get and how long should they be kept when I realized someting that had not been mentioned. Some applications need more than one log file. There should be the error reporting log files for most apps, but some need seperate logs for each major function: email, data access/updates, user stats, etc.

Trying to cram all of that into one log file would make it harder to find needed info, but since they serve very different functions, they need to be saved for very different periods of time. Just in case some of the log files are used in a trial, you may not want some of that other stuff made public. (that's the paranoid part of my personality)

-theo-
(so many nodes and so little time ... )
Note: All opinions are untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: When to use logging and why?
by jdtoronto (Prior) on Nov 13, 2003 at 19:39 UTC
    Aaaah! But that is why we have Perl isn't it? Once you have the logs you build a sweet little logfile parser that gives you what you want pretty darned quickly and ultimately allows you to save 'useful' stuff while removing the dross.
    jdtoronto

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://306828]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found