Closed vikramsubramanian closed 2 months ago
Make sure to [remove()
]( the default handler first.
logger.remove() hashtag Remove 'stderr' handler automatically added by default
logger.add("Log/runtime.log", rotation="00:00", level="DEBUG",
filter=lambda record: record["extra"].get("name") == "log",
encoding="utf-8", enqueue=True,
format=format_)
output:
stdout:
it is as expected in runtime.log. but it is error in stdout, I have no see filename in stdout. Please help check it. Thanks