79758967

Date: 2025-09-08 13:49:45
Score: 0.5
Natty:
Report link

If there are multiple handlers attached to the logger, following returns the file name from logger.

[os.path.basename(handler.baseFilename) for handler in logger.handlers if isinstance(handler, logging.FileHandler)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abhishek Sourabh