Jānis Šlapiņš added the comment: Using the stream or other options requires much more coding (for example, an additional redirection of sys.stdout to a file) instead of just one line with the basicConfig.
In the meanwhile, I tried to use logging.FileHandler instead where I could specify the encoding in parameters and it works as I wanted when used the basicConfig method. Anyway, it would be nice to have the encoding parameter among the basicConfig parameters when logging to files. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26606> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com