I have a question regarding what goes into the /var/log/syslog file.

I’m running the latest version of weewx on a Raspberry Pi 4.  My station is 
a Peet Bros Ultimeter 100. I also added a Adafruit BME280 breakout board to 
measure pressure and humidity.  

This all works very well.  Thank you

When I run sudo tail -f /var/log/syslog, there appears to be three entries 
per second being written to the log file.  So as you can imagine, the log 
file has a lot of info that I don’t want in there.  Any errors are being 
written to weewx.log file.

How can I limit what is going to the log file so they don’t grow so large?  I 
looked at rsyslog.conf, but don’t know if this is the correct place to 
limit the log entries. 

Example, one entry into log file:

 Jan 20 10:22:47 WeatherPi /weewxd: bme280: {'dateTime': 1611166967, 
'usUnits': 1, 'windSpeed': 0.0, 'windDir': 55.058796, 'outTemp': 
38.300000000000004, 'rain_total': 0.5, 'barometer': None, 'inTemp': None, 
'outHumidity': 77.02371597125266, 'inHumidity': None, 'day_of_year': 19, 
'minute_of_day': 620, 'daily_rain': 0.0, 'wind_average': 0.0, 'rain': 0.0, 
'pressure': 29.53154056121909}

Thanks for your help.

Lee

-- 
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/7c9cae95-4bcd-4dd6-b293-2113d6a5054cn%40googlegroups.com.

Reply via email to