Skip to content

Commit c632659

Browse files
Update graphgen/utils/log.py
Co-authored-by: Copilot <[email protected]>
1 parent 872557a commit c632659

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphgen/utils/log.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def set_logger(
3030
backupCount=backup_count,
3131
encoding="utf-8",
3232
)
33+
file_handler.setLevel(log_level)
3334
file_handler.setFormatter(
3435
logging.Formatter(
3536
"[%(asctime)s] %(levelname)s [%(name)s:%(filename)s:%(lineno)d] %(message)s",

0 commit comments

Comments
 (0)