William
That worked. Thank you very hard. Much appreciated. Beer on the way :)
Cheers
Mike
On 23/09/2015 11:30 AM, William ML Leslie wrote:
On 23 September 2015 at 08:41, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
Thanks John - no success yet, see below ...
logfile = "my_logfile".encode(encoding='utf_8', errors='strict')
This line is the same as doing this:
logfile = b"my_logfile"
Probably what you want is more like:
'handlers' : {
'file' : {
...
'encoding' : 'utf-8',
Guessing by this signature:
https://docs.python.org/3.4/library/logging.handlers.html#logging.FileHandler
_______________________________________________
melbourne-pug mailing list
melbourne-pug@python.org
https://mail.python.org/mailman/listinfo/melbourne-pug