You are not logged in.

#1 2013-04-13 16:48:26

senorsmile
Member
Registered: 2010-12-12
Posts: 72

journalctl only showing a couple days

I am doing a

 journalctl /usr/sbin/sshd 

but only get two days worth of information. 

There are lots of these errors popping up:

systemd[1]: Failed to start Cleanup of Temporary Directories.

and by lots I mean several dozen every 20 or so seconds. 

I assume these error messages are filling up my journal? 

edit: Yes,

du /var/log/journal/
3035416	/var/log/journal/

So, any ideas on how to fix the errors?

Offline

#2 2013-04-14 02:41:10

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: journalctl only showing a couple days

Actually when it reaches the predetermined size it cyles over. There are too many errors that are thrown up so that it fills the whole journal log in 2 days. You can set the size of journal at /etc/systemd/journal.conf.

but before that you have to deal with error logs with a small hack as described here in first post.
https://bbs.archlinux.org/viewtopic.php?id=156376


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

Board footer

Powered by FluxBB