Problem SOLVED - There were some subtle text changes to the logwatch script with the upgrade (Added instead of added, imagegenerator instead of Genimages) so I needed to copy the logwatch script into /etc/logwatch and add some custom edits I had made to the old script to ignore raw: and historygenerator: . But I think it is now all ok
Any chance of getting setup.py to update the logwatch scripts (and keep custom edits) - or perhaps making the update remind one of what else needs to be checked/changed manually - just a thought ..... On Sunday, 26 November 2017 07:54:55 UTC+2, Andrew Milner wrote: > Just updated to 3.8 and find that logwatch is logging as unmatched lines > the routine entries from manager, copygenerator, imagegenerator: > > unmatched lines: > Nov 25 08:45:49 RPi3 weewx[29522]: Stopping weewx weather system: > weewx.. > Nov 25 08:59:51 RPi3 weewx[541]: engine: Platform > Linux-4.9.35-v7+-armv7l-with-debian-8.0 > Nov 25 08:59:51 RPi3 weewx[504]: Starting weewx weather system: weewx. > Nov 25 08:59:51 RPi3 weewx[701]: wxcalculate: The following values will > be calculated: barometer=prefer_hardware, windchill=prefer_hardware, > dewpoint=prefer_hardware, appTemp=prefer_hardware, > rainRate=prefer_hardware, windrun=prefer_hardware, > heatindex=prefer_hardware, maxSolarRad=prefer_hardware, > humidex=prefer_hardware, pressure=prefer_hardware, > inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, > cloudbase=prefer_hardware > Nov 25 08:59:51 RPi3 weewx[701]: wxcalculate: The following algorithms > will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > Nov 25 08:59:53 RPi3 weewx[701]: engine: Caught database > OperationalError: (2002, "Can't connect to local MySQL server through > socket '/var/run/mysqld/mysqld.sock' (2)") > Nov 25 08:59:53 RPi3 weewx[701]: **** Waiting 2 minutes then > retrying... > Nov 25 09:01:52 RPi3 weewx[701]: wxcalculate: The following values will > be calculated: barometer=prefer_hardware, windchill=prefer_hardware, > dewpoint=prefer_hardware, appTemp=prefer_hardware, > rainRate=prefer_hardware, windrun=prefer_hardware, > heatindex=prefer_hardware, maxSolarRad=prefer_hardware, > humidex=prefer_hardware, pressure=prefer_hardware, > inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, > cloudbase=prefer_hardware > Nov 25 09:01:52 RPi3 weewx[701]: wxcalculate: The following algorithms > will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > Nov 25 09:01:53 RPi3 weewx[701]: manager: Starting backfill of daily > summaries > Nov 25 09:01:53 RPi3 weewx[701]: manager: Daily summaries up to date > Nov 25 09:01:53 RPi3 weewx[701]: restx: Wunderground-PWS: Data for > station ILIMASSO5 will be posted > Nov 25 09:01:53 RPi3 weewx[701]: restx: PWSweather: Posting not enabled. > Nov 25 09:01:53 RPi3 weewx[701]: restx: CWOP: Posting not enabled. > Nov 25 09:01:53 RPi3 weewx[701]: restx: WOW: Posting not enabled. > Nov 25 09:01:53 RPi3 weewx[701]: restx: AWEKAS: Posting not enabled. > Nov 25 09:23:04 RPi3 weewx[2102]: Stopping weewx weather system: weewx.. > Nov 25 09:24:26 RPi3 weewx[2187]: engine: Platform > Linux-4.9.35-v7+-armv7l-with-debian-8.0 > Nov 25 09:24:26 RPi3 weewx[2187]: engine: Locale is 'en_GB.UTF-8' > Nov 25 09:24:26 RPi3 weewx[2177]: Starting weewx weather system: weewx. > Nov 25 09:24:26 RPi3 weewx[2191]: wxcalculate: The following values > will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, > dewpoint=prefer_hardware, appTemp=prefer_hardware, > rainRate=prefer_hardware, windrun=prefer_hardware, > heatindex=prefer_hardware, maxSolarRad=prefer_hardware, > humidex=prefer_hardware, pressure=prefer_hardware, > inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, > cloudbase=prefer_hardware > Nov 25 09:24:26 RPi3 weewx[2191]: wxcalculate: The following algorithms > will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS > Nov 25 09:24:27 RPi3 weewx[2191]: manager: Starting backfill of daily > summaries > Nov 25 09:24:27 RPi3 weewx[2191]: restx: Wunderground-PWS: Data for > station ILIMASSO5 will be posted > Nov 25 09:24:27 RPi3 weewx[2191]: restx: PWSweather: Posting not > enabled. > Nov 25 09:24:27 RPi3 weewx[2191]: restx: CWOP: Posting not enabled. > Nov 25 09:24:27 RPi3 weewx[2191]: restx: WOW: Posting not enabled. > Nov 25 09:24:27 RPi3 weewx[2191]: restx: AWEKAS: Posting not enabled. > Nov 25 09:25:00 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:25:00 EET (1511594700) to database 'archive' > Nov 25 09:25:00 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:25:00 EET (1511594700) to daily summary in 'archive' > Nov 25 09:25:03 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:25:03 EET (1511594703) to database 'mesowx' > Nov 25 09:25:56 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:25:57 EET (1511594757) to database 'mesowx' > Nov 25 09:26:50 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:26:50 EET (1511594810) to database 'mesowx' > Nov 25 09:27:43 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:27:44 EET (1511594864) to database 'mesowx' > Nov 25 09:28:37 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:28:37 EET (1511594917) to database 'mesowx' > Nov 25 09:29:30 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:29:31 EET (1511594971) to database 'mesowx' > Nov 25 09:30:23 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:30:24 EET (1511595024) to database 'mesowx' > Nov 25 09:30:24 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:30:00 EET (1511595000) to database 'archive' > Nov 25 09:30:24 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:30:00 EET (1511595000) to daily summary in 'archive' > Nov 25 09:30:31 RPi3 weewx[2191]: imagegenerator: Generated 12 images > for StandardReport in 0.92 seconds > Nov 25 09:30:31 RPi3 weewx[2191]: copygenerator: copied 14 files to > /home/weewx/public_html > Nov 25 09:30:39 RPi3 weewx[2191]: imagegenerator: Generated 6 images > for BigImages in 7.68 seconds > Nov 25 09:30:42 RPi3 weewx[2191]: imagegenerator: Generated 6 images > for SmallImages in 3.20 seconds > Nov 25 09:31:00 RPi3 weewx[2191]: copygenerator: copied 4 files to > /home/weewx/public_html/Bootstrap > Nov 25 09:31:18 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:31:18 EET (1511595078) to database 'mesowx' > Nov 25 09:32:11 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:32:12 EET (1511595132) to database 'mesowx' > Nov 25 09:33:05 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:33:05 EET (1511595185) to database 'mesowx' > Nov 25 09:34:03 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:34:03 EET (1511595243) to database 'mesowx' > Nov 25 09:34:56 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:34:57 EET (1511595297) to database 'mesowx' > Nov 25 09:35:50 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:35:50 EET (1511595350) to database 'mesowx' > Nov 25 09:35:50 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:35:00 EET (1511595300) to database 'archive' > Nov 25 09:35:50 RPi3 weewx[2191]: manager: Added record 2017-11-25 > 09:35:00 EET (1511595300) to daily summary in 'archive' > Nov 25 09:35:55 RPi3 weewx[2191]: imagegenerator: Generated 12 images > for StandardReport in 0.91 seconds > Nov 25 09:35:55 RPi3 weewx[2191]: copygenerator: copied 0 files to > /home/weewx/public_html > Nov 25 09:36:02 RPi3 weewx[2191]: imagegenerator: Generated 6 images > for BigImages in 7.66 seconds > Nov 25 09:36:05 RPi3 weewx[2191]: imagegenerator: Generated 6 images > for SmallImages in 3.20 seconds > Nov 25 09:36:21 RPi3 weewx[2191]: copygenerator: copied 0 files to > /home/weewx/public_html/Bootstrap > > > Have I forgotten to do something on the update, as these lines used to be > dropped from my logwatch reports?? > > > > > On Friday, 24 November 2017 02:08:09 UTC+2, mwall wrote: > >> On Wednesday, November 22, 2017 at 3:02:53 AM UTC-5, Daniel Jönsson wrote: >>> >>> >>> This was exactly how I understood it to be when I read up on the commit >>> on github, and this is what I have been trying to do. But it does not >>> effect the logging. >>> I am running version 3.6.1, and if I understand it correct this was >>> implemented in 3.6.0, so it should work but isn't. >>> >>> I have tried to put it under [StdReport] and all reports their under, >>> and under [StdRESTful]. No matter where I put it, it does >>> absolutely nothing to lessen the output to syslog. >>> >> >> could you post some log output and highlight the messages that you think >> should not be emitted? >> >> also post a sanitized copy of the weewx.conf >> >> m >> > -- 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. For more options, visit https://groups.google.com/d/optout.