You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-02-07.20:23:14.693>created_at=<Date2010-02-07.14:51:42.765>labels= ['invalid', 'type-bug', 'library']
title='logging.basicConfig should raise warning/exception on second call'updated_at=<Date2010-02-07.20:23:14.691>user='https://bugs.python.org/tocomo'
what do you think does happen? Right - logging goes to "/tmp/worksnot.log". But does not behave that way. The secound call does nothing. Simply bad coding style, an if without an else.
"This function does nothing if the root logger already has handlers configured for it."
This behaviour is by design, and not an accident caused by "bad coding style". Please check the documentation before posting issues which are not real issues. Thanks.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: