Re: Proposal: Logging system rewrite
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
On 01-Apr-05, at PM 12:19, Bill Mill wrote: > > Question: how do you properly handle the event where the user doesn't > have a logfile specified in config.py or the specified file doesn't > exist/can't be written to? Intuitively, I would say discard all log > messages - but how does a user figure out that they have the security > wrong on a log file, or that they've misspelled the name? Maybe it > just shouldn't initialize with a bad value? > Log to stderr. The standard nix way of doing things. Bonus prize: things from stderr does end up in the webserver logs. ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30