Discussion:
pacman and journalctl
Add Reply
Tom M.
2017-12-01 23:10:51 UTC
Reply
Permalink
Raw Message
ahoy there!

is there some cleaver way of making pacman log to journalctl? or plans
to implement such a feature?

regards,
t.
Leonid Isaev via arch-general
2017-12-02 00:24:10 UTC
Reply
Permalink
Raw Message
Post by Tom M.
ahoy there!
is there some cleaver way of making pacman log to journalctl? or plans
to implement such a feature?
Uncomment UseSyslog in pacman.conf...
--
Leonid Isaev
Tom M.
2017-12-02 07:15:09 UTC
Reply
Permalink
Raw Message
ha! that was easy, thanks. perhaps manpage needs updating...


t.

On 2 December 2017 at 00:24, Leonid Isaev via arch-general
Post by Leonid Isaev via arch-general
Post by Tom M.
ahoy there!
is there some cleaver way of making pacman log to journalctl? or plans
to implement such a feature?
Uncomment UseSyslog in pacman.conf...
--
Leonid Isaev
Leonid Isaev via arch-general
2017-12-02 08:10:57 UTC
Reply
Permalink
Raw Message
Post by Tom M.
ha! that was easy, thanks. perhaps manpage needs updating...
man pacman.conf says that UseSyslog means "Log action messages through
syslog(). This will insert log entries into /var/log/messages or equivalent."
It doesn't specify a syslog implementation... Journald is simply one of them.

If you wonder about facility and/or priority, then yeah, it is not indicated,
but I guess it is daemon/info.

Cheers,
--
Leonid Isaev
Loading...