You are not logged in.

#1 2012-10-04 22:45:50

lesto
Member
Registered: 2010-07-13
Posts: 115

[journalctl] cannot find log older than actual boot

Hi,
my system just crashed, so i runned "sudo journalctl", but there is no log older than THIS session...
it is the way journalctl works, or something really bad is going on?
how i'm supposed to find what whent wrong? /var/log seems unused since 28 august, when i've installed a full systemd

cheers

Offline

#2 2012-10-04 22:51:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [journalctl] cannot find log older than actual boot

Did you create a non-volatile journal?
https://wiki.archlinux.org/index.php/Sy … md_Journal


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-10-04 22:51:31

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

Re: [journalctl] cannot find log older than actual boot

That's the default. You can change it by creating the appropriate place for a permanent log and/or you can tell it to use syslog-ng and modify that service to use systemd's logging.

This is all explained in the wiki - see https://wiki.archlinux.org/index.php/Sy … md_Journal.

EDIT: beaten to it.

Last edited by cfr (2012-10-04 22:51:59)


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 2012-10-04 23:00:13

lesto
Member
Registered: 2010-07-13
Posts: 115

Re: [journalctl] cannot find log older than actual boot

i've missed the creation of /var/log/journal/...
my bad, thank you big_smile

Offline

Board footer

Powered by FluxBB