/var/log/messages missing in Mageia 3

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

/var/log/messages missing in Mageia 3

Postby snjv » Oct 27th, '13, 06:36

Hello,
I installed Mageia 3 (x86_64) and I see that /var/log/messages missing. Is there a way to enable it?

Thanks,
-Snjv
snjv
 
Posts: 11
Joined: May 18th, '13, 06:57

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

Postby marja » Oct 27th, '13, 09:15

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
User avatar
marja
 
Posts: 552
Joined: Aug 22nd, '11, 20:50

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

Postby jiml8 » Oct 27th, '13, 10:00

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).
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

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

Postby snjv » Oct 27th, '13, 10:06

Thanks marja and jiml8. I shall try these methods.
-S
snjv
 
Posts: 11
Joined: May 18th, '13, 06:57


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest