The officially official Devuan Forum!

You are not logged in.

#1 2022-02-25 20:40:45

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 139  

[SOLVED] Rsyslog alternative ?

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 big_smile

Offline

#2 2022-02-25 21:03:27

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,501  

Re: [SOLVED] Rsyslog alternative ?

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

#3 2022-02-26 06:27:02

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 139  

Re: [SOLVED] Rsyslog alternative ?

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 tongue )

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 big_smile

Offline

#4 2022-02-26 08:29:46

SpongeBOB
Member
From: Brussels
Registered: 2022-02-07
Posts: 139  

Re: [SOLVED] Rsyslog alternative ?

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 big_smile

Offline

#5 2022-02-26 11:42:41

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,501  

Re: [SOLVED] Rsyslog alternative ?

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. smile

Offline

Board footer