Add a [Logging] stanza back in.

Documentation to follow.
This commit is contained in:
Tom Keffer
2023-12-18 13:11:57 -08:00
parent 8f818a60e2
commit 7736ec4e31

View File

@@ -488,6 +488,29 @@ version = 5.0.0b17
##############################################################################
# This section configures modifications to the default logging.
[Logging]
# Root logger
[[root]]
handlers = timed_rotate,
[[handlers]]
# Log to a set of rotating files
[[[timed_rotate]]]
level = DEBUG
formatter = verbose
class = logging.handlers.TimedRotatingFileHandler
# File to log to, relative to WEEWX_ROOT:
filename = log/weewx.log
# When to rotate:
when = midnight
# How many log files to save:
backupCount = 7
##############################################################################
# This section configures the internal weewx engine.
[Engine]