Should we change error log destination to INFO level?

10 views
Skip to first unread message

Takeshi Yoshino

unread,
Sep 11, 2012, 12:00:47 AM9/11/12
to pyweb...@googlegroups.com
Hi all,

pywebsocket has been forwarding logs written by the BaseHTTPServer's log_request and log_error method to logging library. The INFO level was used for log_request while WARNING was used for log_error.

But recent bug reports seem to be suggesting that we should rather write both of them together at the info level with some prefix like [RequestLog], [ErrorLog]. I understand that users of standalone.py are just confused by warning level logs that are only saying that it couldn't server favicon.ico.

Please give us comments about this if you have. Both objections and supports are welcome.

Thanks
Takeshi
Reply all
Reply to author
Forward
0 new messages