You are not logged in.

#1 2015-09-19 12:15:16

niceman
Member
Registered: 2015-08-31
Posts: 55

how to preserve the logs after reboot [SOLVED]

I sometimes encounter a system freeze where I'm not able to even switch tty, the only solution is the reset button. 

My problem is that after reboot I look in dmesg,journalctl and Xorg.0.log to see any errors but from what I see they get refreshed on every reboot and thus I can't see what went wrong. 

So where to configure the system to preserve the logs even after hard reset ?

P.S: I'm not asking how to preserve boot messages.

Last edited by niceman (2015-09-23 20:51:34)

Offline

#2 2015-09-19 12:22:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: how to preserve the logs after reboot [SOLVED]

Unless you have changed something, the logs are preserved across reboots...

https://wiki.archlinux.org/index.php/Sy … ing_output


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-09-19 12:45:29

niceman
Member
Registered: 2015-08-31
Posts: 55

Re: how to preserve the logs after reboot [SOLVED]

slithery wrote:

Unless you have changed something, the logs are preserved across reboots...

https://wiki.archlinux.org/index.php/Sy … ing_output


Thanks but what about Xorg logs ?

Offline

#4 2015-09-19 13:24:21

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: how to preserve the logs after reboot [SOLVED]

The old Xorg log is kept as, for example, Xorg.0.log.old

Offline

#5 2015-09-19 19:02:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: how to preserve the logs after reboot [SOLVED]

You don't have to boot into X, so the old logs can be w/o the .old suffix.

Offline

#6 2015-09-23 20:52:01

niceman
Member
Registered: 2015-08-31
Posts: 55

Re: how to preserve the logs after reboot [SOLVED]

thank you all, marked as SOLVED

Offline

Board footer

Powered by FluxBB