Hello,
as i sadly said there is no entry....
pi@pi-weewx:/var/log $ ls -l syslog*
-rw-r----- 1 root adm      0 Jän 23 00:00 syslog
-rw-r----- 1 root adm 284251 Jän 22 19:44 syslog.1
-rw-r----- 1 root adm  31249 Jän 20 16:15 syslog.2.gz
-rw-r----- 1 root adm 109457 Jän 14 18:44 syslog.3.gz
pi@pi-weewx:/var/log $ grep "debug message" /var/log/syslog*
pi@pi-weewx:/var/log $ ls -l messages*
-rw-r----- 1 root adm 274810 Jän 22 19:44 messages
-rw-r----- 1 root adm 602120 Jän 20 16:15 messages.1
pi@pi-weewx:/var/log $ grep "debug message" /var/log/messages
pi@pi-weewx:/var/log $


And the .gz is obviously a log file rotator.

kr

Am Sa., 23. Jan. 2021 um 09:20 Uhr schrieb vince <vinceska...@gmail.com>:

> 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
> <https://groups.google.com/d/msgid/weewx-user/8ef87c41-53c5-4d7c-9814-f9d0598c20b6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CALNFVshBjFvNFKkv2K7msMhdDrE7i8GD5_rX-3m5fOg3ABZotA%40mail.gmail.com.

Reply via email to