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
The recently implemented LOG015 in #14302 is in conflict with LOG002. One suggests using logging.getLogger(__file__), the other calls that a bad practice. LOG015 should suggest logging.getLogger(__name__).
It also seems to be triggering when logging.getLogger(__name__) is already being used, ie, not a root logger.
It also seems to be triggering when
logging.getLogger(__name__)
is already being used, ie, not a root logger.Originally posted by @qartik in #7248 (comment)
LOG015 incorrectly suggests the usage of
logging.getLogger(__file__)
over ``logging.getLogger(name)`.The text was updated successfully, but these errors were encountered: