Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel logging question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 538

PostPosted: Fri Jun 05, 2015 3:55 pm    Post subject: Kernel logging question Reply with quote

Had a look in /var/log/kernel on my laptop last night and the date for current is from july last year so somehow I've obviously turned logging off without realising. I guess It's probably something I did in the kernel config. I mess around in there quite recklessly but I find I learn from breaking and fixing better than from reading. Just have that bad of a brain.
I have been googling but I can't find anything which looks relevant, that of course could be my own lack of knowledge (likely).



Could someone help me with setting the correct options? Or let me know if I'm possibly off the mark as to the cause of the problem?

It's not all that big of a deal, it's just a home laptop but I'd like to learn what my mistake was for next time.

Thanks.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7133
Location: almost Mile High in the USA

PostPosted: Fri Jun 05, 2015 4:45 pm    Post subject: Reply with quote

Most likely your syslogd or klogd died or no longer run due to a config file change. Are they still running? Try an etc-update to make sure your syslog configfiles are still valid. If you're using syslog-ng your config file might no longer dump kernel logs in /var/log/kernel and may need to set that up separately again.

If you're now using systemd, your kernel logs are being munched by it. Try running journalctl and see if your kernel logs are now there.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 668

PostPosted: Sat Jun 06, 2015 8:35 am    Post subject: Reply with quote

Also, if you use syslog-ng, there's currently a bug which means dmesg output doesn't get to the log. Later kernel messages do get there.
_________________
Greybeard
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3687
Location: Hamburg

PostPosted: Sat Jun 06, 2015 8:59 am    Post subject: Reply with quote

Goverp wrote:
Also, if you use syslog-ng, there's currently a bug which means dmesg output doesn't get to the log. Later kernel messages do get there.
3.6.2 is stable currently
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 538

PostPosted: Sat Jun 06, 2015 6:18 pm    Post subject: Reply with quote

I do use syslog-ng, it is running (3.6.2), I don't have any logs since july 2014 :?
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 668

PostPosted: Sun Jun 07, 2015 10:06 am    Post subject: Reply with quote

toralf wrote:
Goverp wrote:
Also, if you use syslog-ng, there's currently a bug which means dmesg output doesn't get to the log. Later kernel messages do get there.
3.6.2 is stable currently

The bug's still there in 3.6.2. Mr. Bones' patch for 3.6.2 in bugzilla works.
_________________
Greybeard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum