Hi,

I just stepped over shinken.log and am wondering why there is a complete
own implementation for logging. Why isn't the standard logging module used?

I scanned the logs of shinken/log and did not find any reason (except
not using it in the first place).

This own implementation has the drawback that the message has do be
formated bei the caller, even if the message will not be logged (because
of the log-level). The standard logging module allows passing a
message-template plus emelents for filling the template.

Additionally the standard module has methods like formatexception(),
which are usefull for not reinventing the wheel.

So if there is not reason for using a own implementation I'll change to
a standard-implementation. I would do this in a separate branch for you
to test and comment on it.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goe...@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to