On Sunday, March 8, 2020 at 10:52:37 AM UTC-4, Greg Troxel wrote: > > Thomas Keffer writes: > > > weewx V4 uses a new logging facility, Python's module 'logging', which > > requires that one set up logging handlers. The handler "syslog" is > designed > > to (roughly) emulate the previous syslog logging. To set it up, you must > > specify a destination (called 'address') and a 'facility', which vary > from > > OS to OS. I suspect that the defaults that weewx is picking for NetBSD > are > > wrong. > > Thanks for the hint. Patch attached. With this weewx runs, gets > archive records, posts them to mqtt, and creates and rsyncs the html > pages. And log messages appear in /var/log/messages (which is where > syslog puts them per local config, tos that's fine.). >
changes pushed to master at commit 89918d28 also added change to support openbsd, which uses /dev/log port 514 is the default for remote system logging (rsyslog). not sure why anyone would ever do localhost:514... -- 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/82e0729a-1a2a-45e3-9a0d-806b32ac441f%40googlegroups.com.
