On Saturday, March 2, 2024 at 11:57:55 AM UTC-5 Charlie T wrote:

OK...well that's strange.  */var/log/syslog* is NOT updating.  Even with a 
"chmod 777 syslog"...still no updates to syslog.


in general, redhat systems use /var/log/messages, debian systems use 
/var/log/syslog

systems that use systemd might swallow some or all of the system logging 
into systemd-journald, leaving you with nothing in /var/log/syslog or 
/var/log/messages.  if you are on one of those systems, then you'll have to 
use journalctl to view the log messages.

if you want to see the contents of /var/log/messages or /var/log/syslog 
without having to escalate privileges, you should change the permissions in 
the rsyslog configuration (/etc/rsyslog.conf) and/or logrotate 
configuration. i do not recall whether this is possible on systemd systems 
that have hijacked *all* of the system logging into journald.

your 'chmod 777' will go away at the next log rotation and/or rsyslog 
restart, and you really don't want to give world write privileges on system 
files like that anyway.

-- 
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/d35daf5a-9027-4eed-8957-03b153554bd9n%40googlegroups.com.

Reply via email to