On Friday, January 22, 2021 at 11:52:32 PM UTC-8 nady...@gmail.com wrote:

> pi@pi-weewx:/var/log $ logger -p user.debug "This is a debug message"
>
> pi@pi-weewx:/var/log $ ls -l /var/log/syslog*
> -rw-r----- 1 root adm      0 Jän 23 00:00 /var/log/syslog
> -rw-r----- 1 root adm 284251 Jän 22 19:44 /var/log/syslog.1
> -rw-r----- 1 root adm  31249 Jän 20 16:15 /var/log/syslog.2.gz
> -rw-r----- 1 root adm 109457 Jän 14 18:44 /var/log/syslog.3.gz
>

See if the logger message got into your logs.

grep "debug message" /var/log/syslog.1

And do a 'ls -l /var/log/messages*' as well, and grep for the same string 
in any messages file that does not have a .gz extension.

 

-- 
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/8ef87c41-53c5-4d7c-9814-f9d0598c20b6n%40googlegroups.com.

Reply via email to