You are not logged in.

#1 2013-08-20 01:15:36

wkatastrof
Member
Registered: 2013-08-03
Posts: 15

Where are the logs?

Greetings,

Maybe I am missing something here, but where are my logs? I have recently moved from Debian/Ubuntu to Arch, so maybe things are a bit different. Please fill me in!

If I go to /var/log I see the following:

btmp
faillog
lastlog
pacman.log
wtmp
Xorg.0.log.old
cups
journal
old
slim.log
Xorg.0.log

Where are log files such as: dmesg, kern.log, syslog, etc?


I would like to know since I have some error messages when I boot and when I shutdown such as "Root FileSystem mounted read-only!" or on shutdown "Unable to unmount /var !"
I don't think these are good messages and want to remediate them by researching the logs.
Also, my machine will occasionally, totally lock-up and I want to find out why.

Your help is appreciated.

Offline

#2 2013-08-20 01:18:19

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: Where are the logs?

Check journalctl

Offline

#3 2013-08-20 01:20:02

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: Where are the logs?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2013-08-20 23:46:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Where are the logs?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2013-09-19 03:08:03

wkatastrof
Member
Registered: 2013-08-03
Posts: 15

Re: Where are the logs?

This looks like it will be great, thanks!

Offline

#6 2013-09-19 11:23:50

b1tH1de0
Member
Registered: 2013-06-05
Posts: 17

Re: Where are the logs?

Many Linux distros have logging policy setup by default for the user but here, since You start with bare bones Linux, many log files will not be available, since the tools responsible for logging to those files are not present.

I.e. syslog/rsyslog logs to /var/log/messages by default, so You need to install it first.

Offline

#7 2013-09-19 13:11:39

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Where are the logs?

b1tH1de0 wrote:

Many Linux distros have logging policy setup by default for the user but here, since You start with bare bones Linux, many log files will not be available, since the tools responsible for logging to those files are not present.

I.e. syslog/rsyslog logs to /var/log/messages by default, so You need to install it first.

Out of the box almost everything on arch logs to journald.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2013-09-19 13:24:14

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: Where are the logs?

there's also an option in /etc/systemd/journald.conf to send everything to syslog.  Might be useful if you're still transitioning

Offline

Board footer

Powered by FluxBB