Will logging system be useful for python programmers ?

Igor E. Poteryaev jah at mail.ru
Sun Jun 11 07:44:42 EDT 2000


Hi, all

I want to write logging system in python. 

Main purposes:

- ability to send debug, warning, trace and alike messages to 
  various output streams like files, sockets, console, syslog ets.

- flexible format of log messages

- little overhead of logging calls

- ability to customize volume of logging by config files

- internationalization of message strings


I tried to find something already implemented in python, but without success.
Becouse I'm lazy enough, don't want to write it from scratch and want to
reuse some existing design, I searched again and found two implementation in Java: 
JLog:  http://www.alphaworks.ibm.com/tech/loggingtoolkit4j
log4j:  http://www.log4j.org

Both have nearly all I want to see in logging system.
I think that JLog is a little smaller and easier to reimplement, but
log4j is open sourced and clear from possible legal issues.

So, my questions to community are:

Will logging system be useful for python programmers ?
Which toolkit to use as staring point for python reimplementation ?
Which license will be most adequate ? (Puthon license, I suppose)
Maybe I missed something already existing in python ?

cheers,

Igor E. Poteryaev




More information about the Python-list mailing list