We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc95ca8 + f63dce6 commit cbbcae6Copy full SHA for cbbcae6
src/ibex_bluesky_core/log.py
@@ -9,7 +9,6 @@
9
import os
10
import sys
11
from functools import cache
12
-from logging import Formatter
13
from logging.handlers import TimedRotatingFileHandler
14
15
__all__ = ["file_handler", "set_bluesky_log_levels", "setup_logging"]
@@ -32,7 +31,7 @@ def file_handler() -> TimedRotatingFileHandler:
32
31
handler = TimedRotatingFileHandler(os.path.join(log_location, "bluesky.log"), "midnight")
33
34
handler.setFormatter(
35
- Formatter(
+ logging.Formatter(
36
"%(asctime)s (%(process)d) %(name)s %(filename)s "
37
"[line:%(lineno)d] %(levelname)s %(message)s"
38
),
0 commit comments