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
if maxBytes > 0 or backupCount > 0:
> handler = logging.handlers.RotatingFileHandler(log_file, maxBytes=maxBytes, backupCount=backupCount)
E AttributeError: module 'logging' has no attribute 'handlers'
../../../micromamba-root/envs/anaconda-test-env-py-3.9/lib/python3.9/site-packages/apstools/utils/log_utils.py:64: AttributeError
Yet the Python 3.9 documentation says that logging.handlers.RotatingFileHandler() is available. So this might be an import problem (needing import logging.handlers in apstools upstream?)?
Again, this error in CI:
Yet the Python 3.9 documentation says that
logging.handlers.RotatingFileHandler()
is available. So this might be an import problem (needingimport logging.handlers
in apstools upstream?)?Originally posted by @prjemian in BCDA-APS/bluesky_training#83 (comment)
The text was updated successfully, but these errors were encountered: