On Friday, September 24, 2021 at 1:57:04 PM UTC-7 Evan Kimberly wrote:
> Is syslog not already a logger? Is it not adequate and rsyslog more
> capable?
>
Hard to say, I'd like to say they are equivalent, but perhaps not
necessarily.
I got a lot of rsyslogd whining about my config files when I started that
up, but I suspect I edited incorrectly. I found the rsyslogd instructions
you quoted to be a bit cryptic so I might have messed it up. I get the
message too long with rsyslogd too.
Here's the weewx driver test once rsyslogd started.
[root@freebsd /etc]# PYTHONPATH=/home/weewx/bin /usr/local/bin/python3 -m
user.gw1000 --test-driver
Using configuration file /home/weewx/weewx.conf
debug level is '1'
IP address to be obtained by discovery
Port number set to default port number
Battery state filtering ('False') using the default
--- Logging error ---
Traceback (most recent call last):
File "/usr/local/lib/python3.8/logging/handlers.py", line 934, in emit
self.socket.send(msg)
OSError: [Errno 40] Message too long
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/logging/handlers.py", line 938, in emit
self.socket.send(msg)
OSError: [Errno 40] Message too long
Call stack:
File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/weewx/bin/user/gw1000.py", line 5843, in <module>
main()
File "/home/weewx/bin/user/gw1000.py", line 5837, in main
direct_gw100.process_options()
File "/home/weewx/bin/user/gw1000.py", line 4760, in process_options
self.test_driver()
File "/home/weewx/bin/user/gw1000.py", line 5571, in test_driver
driver = Gw1000Driver(**self.stn_dict)
File "/home/weewx/bin/user/gw1000.py", line 1928, in __init__
super(Gw1000Driver, self).__init__(**stn_dict)
File "/home/weewx/bin/user/gw1000.py", line 1049, in __init__
loginf('field map is %s' % natural_sort_dict(self.field_map))
File "/home/weewx/bin/user/gw1000.py", line 549, in loginf
log.info(msg)
Message: "field map is {'co2': 'co2', 'co2_24h_avg': 'co2_24h_avg',
'dateTime': 'datetime', 'daymaxwind': 'daymaxwind', 'dayRain': 'rainday',
'dewpoint': 'dewpoint', 'extraHumid1': 'humid1', 'extraHumid2': 'humid2',
'extraHumid3': 'humid3', 'extraHumid4': 'humid4', 'extraHumid5': 'humid5',
'extraHumid6': 'humid6', 'extraHumid7': 'humid7', 'extraHumid8': 'humid8',
'extraHumid17': 'humid17', 'extraTemp1': 'temp1', 'extraTemp2': 'temp2',
'extraTemp3': 'temp3', 'extraTemp4': 'temp4', 'extraTemp5': 'temp5',
'extraTemp6': 'temp6', 'extraTemp7': 'temp7', 'extraTemp8': 'temp8',
'extraTemp9': 'temp9', 'extraTemp10': 'temp10', 'extraTemp11': 'temp11',
'extraTemp12': 'temp12', 'extraTemp13': 'temp13', 'extraTemp14': 'temp14',
'extraTemp15': 'temp15', 'extraTemp16': 'temp16', 'extraTemp17': 'temp17',
'heatindex': 'heatindex', 'hourRain': 'rainhour', 'inHumidity': 'inhumid',
'inTemp': 'intemp', 'leafWet1': 'leafwet1', 'leafWet2': 'leafwet2',
'leafWet3': 'leafwet3', 'leafWet4': 'leafwet4', 'leafWet5': 'leafwet5',
'leafWet6': 'leafwet6', 'leafWet7': 'leafwet7', 'leafWet8': 'leafwet8',
'leak1': 'leak1', 'leak2': 'leak2', 'leak3': 'leak3', 'leak4': 'leak4',
'lightning_distance': 'lightningdist', 'lightning_last_det_time':
'lightningdettime', 'lightning_strike_count': 'lightning_strike_count',
'lightningcount': 'lightningcount', 'luminosity': 'light', 'monthRain':
'rainmonth', 'outHumidity': 'outhumid', 'outTemp': 'outtemp', 'pm2_5':
'pm251', 'pm2_51_24h_avg': 'pm251_24h_avg', 'pm2_52': 'pm252',
'pm2_52_24h_avg': 'pm252_24h_avg', 'pm2_53': 'pm253', 'pm2_53_24h_avg':
'pm253_24h_avg', 'pm2_54': 'pm254', 'pm2_54_24h_avg': 'pm254_24h_avg',
'pm2_55': 'pm255', 'pm2_55_24h_avg': 'pm255_24h_avg', 'pm10': 'pm10',
'pm10_24h_avg': 'pm10_24h_avg', 'pressure': 'absbarometer', 'rain': 'rain',
'rainRate': 'rainrate', 'relbarometer': 'relbarometer', 'soilMoist1':
'soilmoist1', 'soilMoist2': 'soilmoist2', 'soilMoist3': 'soilmoist3',
'soilMoist4': 'soilmoist4', 'soilMoist5': 'soilmoist5', 'soilMoist6':
'soilmoist6', 'soilMoist7': 'soilmoist7', 'soilMoist8': 'soilmoist8',
'soilMoist9': 'soilmoist9', 'soilMoist10': 'soilmoist10', 'soilMoist11':
'soilmoist11', 'soilMoist12': 'soilmoist12', 'soilMoist13': 'soilmoist13',
'soilMoist14': 'soilmoist14', 'soilMoist15': 'soilmoist15', 'soilMoist16':
'soilmoist16', 'soilTemp1': 'soiltemp1', 'soilTemp2': 'soiltemp2',
'soilTemp3': 'soiltemp3', 'soilTemp4': 'soiltemp4', 'soilTemp5':
'soiltemp5', 'soilTemp6': 'soiltemp6', 'soilTemp7': 'soiltemp7',
'soilTemp8': 'soiltemp8', 'soilTemp9': 'soiltemp9', 'soilTemp10':
'soiltemp10', 'soilTemp11': 'soiltemp11', 'soilTemp12': 'soiltemp12',
'soilTemp13': 'soiltemp13', 'soilTemp14': 'soiltemp14', 'soilTemp15':
'soiltemp15', 'soilTemp16': 'soiltemp16', 'stormRain': 'rainevent',
'totalRain': 'raintotals', 'UV': 'uvi', 'uvradiation': 'uv', 'weekRain':
'rainweek', 'wh25_batt': 'wh25_batt', 'wh25_sig': 'wh25_sig', 'wh26_batt':
'wh26_batt', 'wh26_sig': 'wh26_sig', 'wh31_ch1_batt': 'wh31_ch1_batt',
'wh31_ch1_sig': 'wh31_ch1_sig', 'wh31_ch2_batt': 'wh31_ch2_batt',
'wh31_ch2_sig': 'wh31_ch2_sig', 'wh31_ch3_batt': 'wh31_ch3_batt',
'wh31_ch3_sig': 'wh31_ch3_sig', 'wh31_ch4_batt': 'wh31_ch4_batt',
'wh31_ch4_sig': 'wh31_ch4_sig', 'wh31_ch5_batt': 'wh31_ch5_batt',
'wh31_ch5_sig': 'wh31_ch5_sig', 'wh31_ch6_batt': 'wh31_ch6_batt',
'wh31_ch6_sig': 'wh31_ch6_sig', 'wh31_ch7_batt': 'wh31_ch7_batt',
'wh31_ch7_sig': 'wh31_ch7_sig', 'wh31_ch8_batt': 'wh31_ch8_batt',
'wh31_ch8_sig': 'wh31_ch8_sig', 'wh35_ch1_batt': 'wh35_ch1_batt',
'wh35_ch1_sig': 'wh35_ch1_sig', 'wh35_ch2_batt': 'wh35_ch2_batt',
'wh35_ch2_sig': 'wh35_ch2_sig', 'wh35_ch3_batt': 'wh35_ch3_batt',
'wh35_ch3_sig': 'wh35_ch3_sig', 'wh35_ch4_batt': 'wh35_ch4_batt',
'wh35_ch4_sig': 'wh35_ch4_sig', 'wh35_ch5_batt': 'wh35_ch5_batt',
'wh35_ch5_sig': 'wh35_ch5_sig', 'wh35_ch6_batt': 'wh35_ch6_batt',
'wh35_ch6_sig': 'wh35_ch6_sig', 'wh35_ch7_batt': 'wh35_ch7_batt',
'wh35_ch7_sig': 'wh35_ch7_sig', 'wh35_ch8_batt': 'wh35_ch8_batt',
'wh35_ch8_sig': 'wh35_ch8_sig', 'wh40_batt': 'wh40_batt', 'wh40_sig':
'wh40_sig', 'wh41_ch1_batt': 'wh41_ch1_batt', 'wh41_ch1_sig':
'wh41_ch1_sig', 'wh41_ch2_batt': 'wh41_ch2_batt', 'wh41_ch2_sig':
'wh41_ch2_sig', 'wh41_ch3_batt': 'wh41_ch3_batt', 'wh41_ch3_sig':
'wh41_ch3_sig', 'wh41_ch4_batt': 'wh41_ch4_batt', 'wh41_ch4_sig':
'wh41_ch4_sig', 'wh45_batt': 'wh45_batt', 'wh45_sig': 'wh45_sig',
'wh51_ch1_batt': 'wh51_ch1_batt', 'wh51_ch1_sig': 'wh51_ch1_sig',
'wh51_ch2_batt': 'wh51_ch2_batt', 'wh51_ch2_sig': 'wh51_ch2_sig',
'wh51_ch3_batt': 'wh51_ch3_batt', 'wh51_ch3_sig': 'wh51_ch3_sig',
'wh51_ch4_batt': 'wh51_ch4_batt', 'wh51_ch4_sig': 'wh51_ch4_sig',
'wh51_ch5_batt': 'wh51_ch5_batt', 'wh51_ch5_sig': 'wh51_ch5_sig',
'wh51_ch6_batt': 'wh51_ch6_batt', 'wh51_ch6_sig': 'wh51_ch6_sig',
'wh51_ch7_batt': 'wh51_ch7_batt', 'wh51_ch7_sig': 'wh51_ch7_sig',
'wh51_ch8_batt': 'wh51_ch8_batt', 'wh51_ch8_sig': 'wh51_ch8_sig',
'wh51_ch9_batt': 'wh51_ch9_batt', 'wh51_ch9_sig': 'wh51_ch9_sig',
'wh51_ch10_batt': 'wh51_ch10_batt', 'wh51_ch10_sig': 'wh51_ch10_sig',
'wh51_ch11_batt': 'wh51_ch11_batt', 'wh51_ch11_sig': 'wh51_ch11_sig',
'wh51_ch12_batt': 'wh51_ch12_batt', 'wh51_ch12_sig': 'wh51_ch12_sig',
'wh51_ch13_batt': 'wh51_ch13_batt', 'wh51_ch13_sig': 'wh51_ch13_sig',
'wh51_ch14_batt': 'wh51_ch14_batt', 'wh51_ch14_sig': 'wh51_ch14_sig',
'wh51_ch15_batt': 'wh51_ch15_batt', 'wh51_ch15_sig': 'wh51_ch15_sig',
'wh51_ch16_batt': 'wh51_ch16_batt', 'wh51_ch16_sig': 'wh51_ch16_sig',
'wh55_ch1_batt': 'wh55_ch1_batt', 'wh55_ch1_sig': 'wh55_ch1_sig',
'wh55_ch2_batt': 'wh55_ch2_batt', 'wh55_ch2_sig': 'wh55_ch2_sig',
'wh55_ch3_batt': 'wh55_ch3_batt', 'wh55_ch3_sig': 'wh55_ch3_sig',
'wh55_ch4_batt': 'wh55_ch4_batt', 'wh55_ch4_sig': 'wh55_ch4_sig',
'wh57_batt': 'wh57_batt', 'wh57_sig': 'wh57_sig', 'wh65_batt': 'wh65_batt',
'wh65_sig': 'wh65_sig', 'wh68_batt': 'wh68_batt', 'wh68_sig': 'wh68_sig',
'windchill': 'windchill', 'windDir': 'winddir', 'windGust': 'gustspeed',
'windSpeed': 'windspeed', 'ws80_batt': 'ws80_batt', 'ws80_sig': 'ws80_sig',
'yearRain': 'rainyear'}"
Arguments: ()
Interrogating GW1000 at 192.168.1.129:45000
2021-09-24 21:51:55 UTC (1632520315): dateTime: 1632520315, extraHumid1:
50, extraHumid2: 50, extraHumid3: 57, extraHumid4: 57, extraTemp1: 22.7,
extraTemp2: 21.9, extraTemp3: 22.5, extraTemp4: 22.8, inHumidity: 55,
inTemp: 22.2, outHumidity: 59, outTemp: 22.3, pressure: 1003.6,
relbarometer: 1015.1, soilMoist1: 58, usUnits: 17, wh26_batt: 0, wh26_sig:
4, wh31_ch1_batt: 0, wh31_ch1_sig: 4, wh31_ch2_batt: 0, wh31_ch2_sig: 4,
wh31_ch3_batt: 0, wh31_ch3_sig: 4, wh31_ch4_batt: 0, wh31_ch4_sig: 4,
wh51_ch1_batt: 1, wh51_ch1_sig: 4
2021-09-24 21:52:15 UTC (1632520335): dateTime: 1632520335, extraHumid1:
50, extraHumid2: 50, extraHumid3: 57, extraHumid4: 57, extraTemp1: 22.7,
extraTemp2: 21.9, extraTemp3: 22.5, extraTemp4: 22.8, inHumidity: 55,
inTemp: 22.2, outHumidity: 59, outTemp: 22.3, pressure: 1003.6,
relbarometer: 1015.1, soilMoist1: 58, usUnits: 17, wh26_batt: 0, wh26_sig:
4, wh31_ch1_batt: 0, wh31_ch1_sig: 4, wh31_ch2_batt: 0, wh31_ch2_sig: 4,
wh31_ch3_batt: 0, wh31_ch3_sig: 4, wh31_ch4_batt: 0, wh31_ch4_sig: 4,
wh51_ch1_batt: 1, wh51_ch1_sig: 4
2021-09-24 21:52:35 UTC (1632520355): dateTime: 1632520355, extraHumid1:
50, extraHumid2: 50, extraHumid3: 57, extraHumid4: 57, extraTemp1: 22.7,
extraTemp2: 21.9, extraTemp3: 22.5, extraTemp4: 22.8, inHumidity: 55,
inTemp: 22.2, outHumidity: 59, outTemp: 22.3, pressure: 1003.6,
relbarometer: 1015.1, soilMoist1: 58, usUnits: 17, wh26_batt: 0, wh26_sig:
4, wh31_ch1_batt: 0, wh31_ch1_sig: 4, wh31_ch2_batt: 0, wh31_ch2_sig: 4,
wh31_ch3_batt: 0, wh31_ch3_sig: 4, wh31_ch4_batt: 0, wh31_ch4_sig: 4,
wh51_ch1_batt: 1, wh51_ch1_sig: 4
--
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/1109ae0d-9cc7-4d94-a487-38be3b5efceen%40googlegroups.com.