Skip to main content
Topic: Which system logger should I use with OpenRC? (Read 496 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Which system logger should I use with OpenRC?

So Artix linux wiki says it doesn't depend on arch linux wiki anymore because it has all the needed software.

I installed Artix just today, so I can run OpenRC peacefully and to my astonishment I couldn't find any up-to-date system logger to use with openrc. There's only syslog-ng-openrc but that was updated 3 years ago, which is not even remotely close to the latest release.

Which system logger should I use then?

Note: I have all repositories set up, including the gremlin repos, omniverse and multilib.

Update: There is syslog-ng 4.4 however in extra repo. Should that be used with openrc?

Re: Which system logger should I use with OpenRC?

Reply #1
There is syslog-ng 4.4 however in extra repo. Should that be used with openrc?

Re: Which system logger should I use with OpenRC?

Reply #2
Artix has more than one init.

Rather than package every init's service files with every package they are available separately.
syslog-ng-dinit
syslog-ng-openrc
syslog-ng-runit
syslog-ng-s6

Those packages above only contain the files to start and stop syslog-ng

They will all depend on syslog-ng (Or at least they should)

So if you install syslog-ng-openrc,  syslog-ng wil be installed automatically as well.

Then you need to enable the syslog-ng service
https://wiki.artixlinux.org/Main/OpenRC#Adding_.2F_removing_services_to_.2F_from_runlevels

Re: Which system logger should I use with OpenRC?

Reply #3
there also exist metalog.

Re: Which system logger should I use with OpenRC?

Reply #4
rsyslog from the AUR is another option although you might need to write your own config file to set it up in a more useful manner, and it won't build until these systemd related lines in the PKGBUILD are edited to "disable" rather than "enable":
Code: [Select]
               --enable-imjournal \
               --enable-omjournal \

Also with any logger check that log rotating is being done correctly, you need a log rotate package and a cron package, this may or may not be brought in as a dependency, additional services could need enabling, and more fine tuning of config relating to this can be done.

 

Re: Which system logger should I use with OpenRC?

Reply #5
Syslog-ng 4.4 is available in the extra repository. Is it advisable to use it with OpenRC?

Re: Which system logger should I use with OpenRC?

Reply #6
Syslog-ng 4.4 is available in the extra repository. Is it advisable to use it with OpenRC?
syslog-ng is available in artix' world repo. Yes it works with openrc, I think it init-agnostic. Just install syslog-ng-openrc - init script, also in world.

Re: Which system logger should I use with OpenRC?

Reply #7
Syslog-ng 4.4 is available in the extra repository. Is it advisable to use it with OpenRC?

No, use the one from Artix's own [world] repo. It was updated literally last month.

As other people have said, you install both syslog-ng and syslog-ng-openrc, where the latter is just the start/stop scripts.