Logging noise

57 views
Skip to first unread message

drd...@gmail.com

unread,
Jun 5, 2022, 5:13:09 PM6/5/22
to weewx-user
I have been able to silence most log messages with

# Whether to log successful operations
log_success = False
# Whether to log unsuccessful operations
log_failure = False

[Logging]
  [[loggers]]
    [[[weewx.restx]]]
      level = WARNING
    [[[weewx.manager]]]
      level = WARNING
    [[[user.interceptor]]]
      level = WARNING

But I'm still seeing

weewx[24537] INFO weewx.engine: Garbage collected 13319 objects in 0.02 seconds

every three hours in syslog

Can someone please explain how to silence this INFO message?

Tom Keffer

unread,
Jun 5, 2022, 5:20:12 PM6/5/22
to weewx-user
Wow, you really like it quiet!

I would think one more entry, this one for the engine, should do it:

    [[[weewx.engine]]]
      level = WARNING


   

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c65e6228-05be-4108-bbee-91ae18783408n%40googlegroups.com.

drd...@gmail.com

unread,
Jun 5, 2022, 5:25:54 PM6/5/22
to weewx-user
I do indeed like it quiet! Your suggestion looks very plausible. I'll know by tomorrow morning.
Thanks much for your very prompt reply

drd...@gmail.com

unread,
Jun 6, 2022, 1:42:51 PM6/6/22
to weewx-user
That fixed it. Thanks for your help
Reply all
Reply to author
Forward
0 new messages