From: Chris W. <ch...@cw...> - 2005-02-24 04:25:01
|
I've been rewriting the error module to work with the filesystem instead of the database. That part is (mostly) done, but my initial idea of hooking this to log4perl with a custom appender has hit a little snag. - If we set the threshold to 'FATAL' we don't store anything -- nothing is logged with a 'FATAL' level. - If we set the threshold to 'ERROR' we store a ton of messages, too many to be useful. This is my fault for not setting guidelines in the beginning as to what the different logging levels should mean. I don't have a good feel for how other people do this, so before I go through and try and make everything at least roughly consistent I'd like to hear what you think: What are appropriate messages to log at these levels? DEBUG INFO WARN ERROR FATAL FWIW, related JIRA issues are at: http://jira.openinteract.org/browse/OIN-46 http://jira.openinteract.org/browse/OIN-35 Thanks, Chris PS - Would it be useful to post here a periodic status message as to how OI2 is doing? In theory this should be on the wiki and I'll put it there if people find it useful, but I didn't get much feedback... -- Chris Winters Creating enterprise-capable snack systems since 1988 |