After some investigation, it seems to be related to the [Logging] section I
added in my weewx.conf. This was working perfectly with version 4.1.0. If
I remove the [Logging] section, the log is going back /var/log/syslog, and
the syntax error disappears.
[Logging]
version = 1
disable_existing_loggers = False
# Root logger
[[root]]
level = {log_level}
handlers = rotate,
# Additional loggers would go in the following section. This is useful
for tailoring logging
# for individual modules.
[[loggers]]
# Definitions of possible logging destinations
[[handlers]]
# Log to a set of rotating files
[[[rotate]]]
level = DEBUG
formatter = verbose
class = logging.handlers.RotatingFileHandler
filename = /var/log/weewx.log
maxBytes = 10000000
backupCount = 4
# Log to console
[[[console]]]
level = DEBUG
formatter = verbose
class = logging.StreamHandler
# Alternate choice is 'ext://sys.stderr'
stream = ext://sys.stdout
# How to format log messages
[[formatters]]
[[[simple]]]
format = %(levelname)s %(message)s
[[[standard]]]
format = {process_name}[%(process)d] %(levelname)s %(name)s:
%(message)s
[[[verbose]]]
format = %(asctime)s {process_name}[%(process)d] %(levelname)s
%(name)s: %(message)s
# Format to use for dates and times:
datefmt = %Y-%m-%d %H:%M:%S
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/1970a31a-d33f-448f-9fbd-d4cf2781cabf%40googlegroups.com.