You are not logged in.
Pages: 1
Hi everyone,
I'm struggling with something that should normally be easy to fix. (see: https://github.com/rsyslog/rsyslog/issues/4809 )
But with the poor documentation (or I'm that stupid) and the non human friendly syntax of Rsyslog. It's all but easy...
Therefore, I was wondering if we could use another system log utility ? if yes do you have any recommendations ?
Also, do Devuan plan to use another system log utility in the futur ?
Thanks.
Linux noob, plz be kind
Offline
Edit /etc/rsyslog.conf and comment out the line that starts with $ActionFile... as I did below.
###########################
#### GLOBAL DIRECTIVES ####
###########################
#
# Use traditional timestamp format.
# To enable high precision timestamps, comment out the following line.
#
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
Then run
service rsyslog restart
And the time stamps will look like this:
2022-02-25T15:55:46.893072-05:00
man rsyslogd or man rsyslog.conf for more info.
There's syslog-ng that's very flexible. And there are no plans to change the default syslogger in devuan.
Offline
Thank you @fsmithred
I tried this method too, the output is indeed better than the default one, but still not exactly what I need (yes I'm picky )
btw what mean the -05:00 ? 2022-02-25T15:55:46.893072-05:00
man rsyslogd or man rsyslog.conf for more info.
Thx I will !
Linux noob, plz be kind
Offline
Little update, with the man rsyslog.conf I could find more info and I got the output than I wanted...
Thanks @fsmithred
Linux noob, plz be kind
Offline
The -0500 is my time zone - five hours west of UTC.
If you got the output exactly how you want it, then you now know more about it than I do.
Offline
Pages: 1