Page 1 of 1

/var/log/messages missing in Mageia 3

PostPosted: Oct 27th, '13, 06:36
by snjv
Hello,
I installed Mageia 3 (x86_64) and I see that /var/log/messages missing. Is there a way to enable it?

Thanks,
-Snjv

Re: /var/log/messages missing in Mageia 3

PostPosted: Oct 27th, '13, 09:15
by marja
snjv wrote:Hello,
I installed Mageia 3 (x86_64) and I see that /var/log/messages missing. Is there a way to enable it?

Thanks,
-Snjv


No there isn't, we use systemd now, and for logmessages journalctl is now used.

Code: Select all
journalctl -a
gives everything, a very, very large output. You can choose to only see the last 500 lines, for instance, with
Code: Select all
journalctl --lines=500 2>&1 | tee output.txt
(this saves those lines to output.txt)

Code: Select all
journalctl -f
gives the last lines, and adds new lines for new things that are being logged.

Code: Select all
journalctl -h
gives a short help

Cheers,
Marja

Re: /var/log/messages missing in Mageia 3

PostPosted: Oct 27th, '13, 10:00
by jiml8
You can install syslog if you wish. I have it; I'm old school and find /var/log/messages much easier to use (and requires less verbosity on the command line).

Re: /var/log/messages missing in Mageia 3

PostPosted: Oct 27th, '13, 10:06
by snjv
Thanks marja and jiml8. I shall try these methods.
-S