pasteorg / paste

Python Paste (core) repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

translogger can fail if locale month is non ascii

gnafou opened this issue · comments

Making that change would change the format or the logger and thus anything that wants to process the log, making this a backward incompatible change, so probably not the best way to fix this.

The logger itself should be able to deal with unicode, so the underlying issue here is with how the logger is set up, not with what is being logged. Have a look at https://stackoverflow.com/questions/1545263/utf-8-in-python-logging-how for some related ideas and issues.