how to fix python logging to not log to stderr
Arulnambi Nandagoban
a.nandagoban at traxens.com
Tue Aug 5 05:45:27 EDT 2014
-----Message d'origine-----
De : Python-list
[mailto:python-list-bounces+a.nandagoban=traxens.com at python.org] De la part
de harish.chilkoti at gmail.com
Envoyé : Tuesday, August 5, 2014 11:18 AM
À : python-list at python.org
Objet : how to fix python logging to not log to stderr
I am doing this
logging.basiConfig(logleve=Logging.Info)
then i create a file log handler and attach to it.
i also have propagate as True.
My logs are going to the stderr as well.
How do i fix so that logs don't go to stdout?
--
https://mail.python.org/mailman/listinfo/python-list
hello,
remove logging.basiConfig, it won't print log in stdout
More information about the Python-list
mailing list