cannot find var/log/messages on 13.2. Trying to learn

Hi all!
I wasn’t sure where to put this post, so here it goes!
I’m trying to find my var/log/messages file, because I’m trying to learn from study book for LPIC-1. The exercises frequently make reference to var/log/filenames files, but there often don’t exist on my install. I think the author is running an older version and am wondering if the files have been removed. I’m very new to linux and Bash. Any help is greatly appreciated!

syslog (/var/log/messages) is not installed in openSUSE 13.2, this job is done by systemd.

See:

journalctl --help
man systemd

On 2015-04-18 09:36, Sauerland wrote:
>
> syslog (/var/log/messages) is not installed in openSUSE 13.2, this job
> is done by systemd.

But you can install it, and have those logs in the traditional way.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Woah! Thanks guys! Do either one of you two have an easy substitute that I could find in OPENSuse to manipulate without grenading anything? How difficult would it be to downgrade to the older file structure so I can follow the book verbatim? Again, any help is greatly appreciated. I’m still very new to linux, but already appreciate the BASH vs MS-Dos differences

Just install the syslog package from Yast

On 2015-04-20 14:26, gogalthorp wrote:
>
> Just install the syslog package from Yast

Mmm. There are several syslog daemons you can choose from: syslog,
rsyslog, syslog-ng… I’d have a look at the exercise book to find out
which one they use and install the same one.

Otherwise, I prefer rsyslog.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Excellent! thanks guys!