Putting aside the wisdom of putting the log in the user subdirectory, this worked for me and results in log entries that look like:
2020-09-29 18:16:32,402 wee_reports[16734] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP 2020-09-29 18:16:32,402 wee_reports[16734] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP 2020-09-29 18:16:32,402 wee_reports[16734] DEBUG weewx.engine: Loading service weewx.restx.StdWOW 2020-09-29 18:16:32,402 wee_reports[16734] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW 2020-09-29 18:16:32,402 wee_reports[16734] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS 2020-09-29 18:16:32,402 wee_reports[16734] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS etc. What platform are you running on? -tk On Tue, Sep 29, 2020 at 12:31 PM Tom Quinn <tjqu...@gmail.com> wrote: > Hello, > I've put the below into my weewx.conf file to modify the logging since I'm > running this in a docker container: > > [Logging] > # Root logger > [[root]] > handlers = rotate, # 1 > [[loggers]] > [[[weewx.restx]]] > level = WARNING > [[handlers]] > # Log to a set of rotating files > [[[rotate]]] > level = DEBUG # 2 > formatter = standard # 3 > class = logging.handlers.RotatingFileHandler # 4 > filename = /home/weewx/bin/user/weewx.log # 5 > maxBytes = 5000000 # 6 > backupCount = 1 # 7 > [[formatters]] > [[[standard]]] > format = "%(asctime)s {process_name}[%(process)d] > %(levelname)s %(name)s: %(message)s" > > > Everything works great! except, I get the following in the log when the > archive runs: > > 2020-09-29 13:25:20,887 weewx[1] ERROR weewx.reportengine: Syntax error: > missing option "asctime" in interpolation. > 2020-09-29 13:25:20,887 weewx[1] ERROR weewx.reportengine: **** > Report ignored > 2020-09-29 13:25:20,958 weewx[1] ERROR weewx.reportengine: Syntax error: > missing option "asctime" in interpolation. > 2020-09-29 13:25:20,959 weewx[1] ERROR weewx.reportengine: **** > Report ignored > 2020-09-29 13:25:20,994 weewx[1] ERROR weewx.reportengine: Syntax error: > missing option "asctime" in interpolation. > 2020-09-29 13:25:20,994 weewx[1] ERROR weewx.reportengine: **** > Report ignored > 2020-09-29 13:25:21,010 weewx[1] ERROR weewx.reportengine: Syntax error: > missing option "asctime" in interpolation. > 2020-09-29 13:25:21,010 weewx[1] ERROR weewx.reportengine: **** > Report ignored > > Any thoughts on how to resolve that error? it seems to be misinterpreting > the config options as something it should do something with.... > > Thanks! > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/dd79c7f4-df93-4116-a693-8de6d720f825n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/dd79c7f4-df93-4116-a693-8de6d720f825n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECaHT9egDROde%3DaHkhQJ7LUq0XmOGC1epL_DpYuLpCTCg%40mail.gmail.com.