[uWSGI] log format

Roberto De Ioris roberto at unbit.it
Tue Jul 13 19:17:41 CEST 2010


Il giorno 13/lug/2010, alle ore 06.44, Łukasz Wróblewski ha scritto:

> currently logs look something like this:
> 
> 
> 
> whether it is possible to do something like this:
> 
> """
> 2010-07-13 06:40:02,078 [INFO]   gracefully (RE)spawned uWSGI master process (pid: 5833)
> 2010-07-13 06:40:02,078 [DEBUG]  spawned uWSGI worker 1 (pid: 11704)
> 2010-07-13 06:40:02,078 [DEBUG]  spawned uWSGI worker 2 (pid: 11705)
> 2010-07-13 06:40:02,078 [INFO]   ...gracefully killing workers...
> ...
> """
> 
> uWSGI rinsed to log an error and would like to know what time it happened exactly.
> 
> 
> -


I would like to add a "log format" option to allow users to configure how loglines are formatted.

Waiting for this feature i will modify the uwsgi_log() function to add timestamps.

--
Roberto De Ioris
http://unbit.it
JID: roberto at jabber.unbit.it



More information about the uWSGI mailing list