Re: journalctl and old entries [was: End of hypocrisy ?]

2014-08-09 Thread Slavko
Ahoj,

Dňa Sat, 9 Aug 2014 17:23:31 +0200 Sven Hartge 
napísal:

> Slavko  wrote:
> 
> > Please, how i can get the records from previous boot?
> 
> Edit /etc/systemd/journald.conf and set "Storage=persistent" 
> 

Thanks for pointing. It works :)

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Re: journalctl and old entries [was: End of hypocrisy ?]

2014-08-09 Thread Sven Hartge
Slavko  wrote:

> Please, how i can get the records from previous boot?

Edit /etc/systemd/journald.conf and set "Storage=persistent" 

Debians default (currently) is to just store the journal in memory which
is obviously lost in reboot.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5at8375en...@mids.svenhartge.de



journalctl and old entries [was: End of hypocrisy ?]

2014-08-09 Thread Slavko
Ahoj,

Dňa Sat, 9 Aug 2014 17:22:33 +0300 Andrei POPESCU
 napísal:

> On Vi, 08 aug 14, 20:51:14, Steve Litt wrote:
> > On Fri, 8 Aug 2014 22:52:36 +0300
> > Andrei POPESCU  wrote:
> > 
> > > On Vi, 08 aug 14, 10:34:24, Steve Litt wrote:
> > > > 
> > > > 2) Write it to the screen. Relatively little happens before the
> > > >filesystem comes up, anyway.
> > > 
> > > It's "only" about 750 lines on my laptop...
> > 
> > How'd you count the lines? Did you use a laptop as a serial console
> > or something?
> 
> No, I just checked the output of 'journalctl -alb'. Line 751 is:

I have dedicated virtual machine to test and learn systemd, but when i
try to see old entries i get, e.g.:

journalctl --until 17:00
-- Logs begin at So 2014-08-09 17:09:23 CEST, end at So 2014-08-09 17:10:18 
CEST. --

The 17:09 is the last boot time. Then i shutdown machine (by shutdown
command), "power" it again and after boot i get:

journalctl --until 17:00
-- Logs begin at So 2014-08-09 17:16:20 CEST, end at So 2014-08-09 17:16:30 
CEST. --

Please, how i can get the records from previous boot?

regards

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature