mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Do not force logfile to roll over when using TimedRotatingFileHandler (#128301)
Do not force log file to roll over when using TimedRotatingFileHandler
This commit is contained in:
parent
5ae7109561
commit
7e4432e321
@ -664,7 +664,6 @@ def _create_log_file(
|
|||||||
err_handler = _RotatingFileHandlerWithoutShouldRollOver(
|
err_handler = _RotatingFileHandlerWithoutShouldRollOver(
|
||||||
err_log_path, backupCount=1
|
err_log_path, backupCount=1
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
err_handler.doRollover()
|
err_handler.doRollover()
|
||||||
except OSError as err:
|
except OSError as err:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user