mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02: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:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user