You are not logged in.

#1 2012-08-11 17:51:21

parky6
Member
Registered: 2010-03-05
Posts: 11

[SOLVED] Missing entries from everything.log after systemd switch

Hi,

After going from init to systemd I noticed that some messages like cron and auth are missing from my everything.log. I follow the guide and change the unix-dgram to:

unix-dgram("/run/systemd/journal/syslog");

in syslog-ng.conf. I have ImportKernel=no in /etc/systemd/journald.conf

Now to see all messages I have to look in both everything.log and journal. Can this be fixed?
Thanks!

Last edited by parky6 (2012-08-13 18:22:59)

Offline

#2 2012-08-11 17:54:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Missing entries from everything.log after systemd switch

Sure, you can just ditch syslog and use the journal.

Offline

#3 2012-08-11 18:04:59

parky6
Member
Registered: 2010-03-05
Posts: 11

Re: [SOLVED] Missing entries from everything.log after systemd switch

This is not an option. I'm using syslog-ng for remote logging.

Offline

#4 2012-08-11 19:20:55

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Missing entries from everything.log after systemd switch

Well, messages with the auth facility are intentionally not fed to everything.log by the default config shipped with syslog-ng. I can't speak for the cron entries. Are they in cron.log?

Offline

#5 2012-08-11 20:50:04

parky6
Member
Registered: 2010-03-05
Posts: 11

Re: [SOLVED] Missing entries from everything.log after systemd switch

You are correct. I fixed that. I want to not mark this as resolved yet, will do after some monitoring. Thanks!

Offline

Board footer

Powered by FluxBB