Re: adding logging to Mason (need advice)

Michael Alan Dorman <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
Jonathan Swartz <[email protected]> writes:
> However, I've never done anything with this project so would
> appreciate hearing about good or bad experiences.

I've had very good, albeit not extensive, experience with log4perl.  A
couple of daemons, some auditing code in an application, etc.

> Would it be easy to add a bunch of log4perl calls to Mason? Should
> we require users to install log4perl or somehow make the calls only
> if log4perl is available? Does all the flexibility lead to
> inefficiencies, e.g., will debug logging calls end up hurting
> performance even when the user has this turned off?

The project claims relatively low impact.  ISTM that a lot of thought
is required up-front as to what expectations the code will have of the
config, so that people can easily integrate it into whatever other
logging they might be doing.

Mike
-- 
I don't need no makeup, I've got real scars -- Tom Waits


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.