[issue11593] Add encoding parameter to logging.basicConfig

2011-04-11 Thread Vinay Sajip
Vinay Sajip added the comment: "handlers" parameter now added to logging.basicConfig(), which covers this use case: logging.basicConfig(handlers=[logging.FileHandler('test.log', 'w', 'utf-8')]) Ref: changeset c9e9142d82d6 -- status: open -> closed ___

[issue11593] Add encoding parameter to logging.basicConfig

2011-03-18 Thread Vinay Sajip
Vinay Sajip added the comment: I've been thinking about adding a handler= keyword argument to basicConfig(), and it seems to me that it would not only cover your use case, but also other cases which require different handlers. So I'm marking as wontfix for now, but I'll keep the issue open un

[issue11593] Add encoding parameter to logging.basicConfig

2011-03-17 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue11593] Add encoding parameter to logging.basicConfig

2011-03-17 Thread Samuel Michaels
New submission from Samuel Michaels : Yes, you could just make a custom logging.FileHandler object, but this way is much easier for those who are following the basic logging tutorial. -- components: Library (Lib) files: __init__.patch keywords: patch messages: 131314 nosy: Samuel.Michae