[weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread Invisible Man
I used to redirect the weewx logs which were normally going to /var/log/syslog in /var/tmp/log/weewx.log using /etc/rsyslog.d :programname,isequal,"weewx" /var/tmp/log/weewx.log :programname,isequal,"weewx" ~ I upgraded to 5.0.2, asked to keep my personal old configuration, but there are no lon

Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread John Smith
Logs were ditched in favour of journald because the weewx v5 no longer runs as root jounralctl -f -u weewx.service On Mon, 4 Mar 2024 at 01:01, Invisible Man wrote: > I used to redirect the weewx logs which were normally going to > /var/log/syslog in /var/tmp/log/weewx.log using /etc/rsyslog.d

Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread Invisible Man
Ok, but I have very few logs using journalctl -u weewx.service, whereas I used to have lots of debug logs. mars 03 14:47:39 vegan systemd[1]: Stopped LSB: weewx weather system. mars 03 14:47:39 vegan systemd[1]: Starting LSB: weewx weather system... mars 03 14:47:39 vegan systemd[1]: Started LSB:

Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread Invisible Man
I found partially why: the upgrade procedure didn't pick up my /etc/default/weewx, just did a backup and created a new one. WEEWX_PYTHON=python3 WEEWX_BINDIR=/usr/share/weewx WEEWX_CFG=/etc/weewx/weewx.conf WEEWX_BIN=/usr/bin/weewxd And now it's a horror movie to debug the rest :( I wish I hadn'

Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread John Smith
Did you try running weewxd manually on the command line? On Mon, 4 Mar 2024 at 01:27, Invisible Man wrote: > I found partially why: the upgrade procedure didn't pick up my > /etc/default/weewx, just did a backup and created a new one. > > WEEWX_PYTHON=python3 > WEEWX_BINDIR=/usr/share/weewx > WE

Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread matthew wall
On Sunday, March 3, 2024 at 9:27:17 AM UTC-5 axelle@gmail.com wrote: I found partially why: the upgrade procedure didn't pick up my /etc/default/weewx, just did a backup and created a new one. WEEWX_PYTHON=python3 WEEWX_BINDIR=/usr/share/weewx WEEWX_CFG=/etc/weewx/weewx.conf WEEWX_BIN=/usr/b

Re: [weewx-user] Upgrade to 5.0.2 from 4.10: where are my logs?

2024-03-03 Thread Invisible Man
>your rsyslog conf has 'isequal,"weewx"', so it will not match the actual name of the weewxd program, which is 'weewxd' Hmm. You are right. But it's strange, in v4.10.2 the program is already named weewxd isn't it? And it's working... Axelle On Sunday, March 3, 2024 at 8:38:09 PM UTC+1 matthew