5.0b17 looks like it takes a fine approach already to me.

   - systemd systems can always use journalctl to read the logs.  Add the 
   '-u weewx' flag to see just weewx entries.


   - if you 'also' have rsyslogd installed and enabled, you can 'also' use 
   /var/log/weewx/weewx.log to view the same entries as of 5.0b17


   - if you do 'not' have rsyslogd installed+enabled it's no harm that 
   weewx drops config files into place for rsyslogd.  They are tiny and wound 
   not be used.

So it looks perfect to me.  Other than systemd.  I am not on 'team systemd' 
to say the least although I have to accept that borg won :-)

Users of any and all systemd-laden operating systems just have to accept 
that if they see references to /var/log/syslog or /var/log/messages that 
'in general' they need to either use journalctl to view logs 'the systemd 
way', or they alternately need to 'add' rsyslogd to use legacy logging that 
has worked for over 40 years before the systemd borg attacked and won.

FWIW - the official debian12 vagrant box has rsyslog installed, configured, 
and running with a very normal looking rsyslog.conf, so that's already done 
for that setup.  logrotate is also present and normally configured with 
typical entries under /etc/rsyslog.d

If you do official debian12 under 'docker' you get a very minimal setup 
where neither logrotate nor rsyslogd are installed.  Neither make a lot of 
sense in docker anyway, but in any event if weewx writes config files for 
things that don't exist in the os, it's tiny and benign at worst.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/a2e034c1-22a0-4009-9575-1831506db96fn%40googlegroups.com.

Reply via email to