Skip to content

Commit 8aa4236

Browse files
committed
misc: rotate log files at midnight
1 parent 4d4c819 commit 8aa4236

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testgen/common/logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def configure_logging(
3333

3434
file_handler = ConcurrentTimedRotatingFileHandler(
3535
get_log_full_path(),
36-
when="D",
36+
when="MIDNIGHT",
3737
interval=1,
3838
backupCount=int(settings.LOG_FILE_MAX_QTY),
3939
)

0 commit comments

Comments
 (0)