enable better logging on debian

I have a Debian Etch server and it doesn't seem like its logging any errors.  My server will have an issue and need a manual reboot and when i look in /var/logs the log files wont have any issues logged.  I have a custom kernel so maybe i disabled something that would be better enabled?  Anything you can think of that might have limited my error logging.  I have not modified /etc/syslog.conf or the defaults that the syslogd starts with.

Here my last example.  the server started giving me Connection refused so i rebooted and nothing in logs but marks leading up before the reboot.

W00dyW00dAsked:
Who is Participating?
 
amprantiConnect With a Mentor Commented:
Check also this file: /var/log/kern.log

Then try adding this line:
       kern.debug                        /var/log/mydebugs
        or
        *.debug                        /var/log/mydebugs

Be prepared for huge amount of logs
Probably you should increase the severity in steps, until you find the cause of the problem

Keep in mind that if this problems is kenrel based, you may not see anything to logs.
If everything else fails, you may have to redirect all logs produced to serial port and receive them on a laptop. (Serial is usually the last interface that will stop working)
0
 
Syngin9Commented:
Is klogd running? (http://www.linuxjournal.com/article/4058)

ps -aux | grep klogd
0
 
W00dyW00dAuthor Commented:
yes,

root      2622  0.0  0.0   1572   372 ?        Ss   20:58   0:00 /sbin/klogd -x
0
 
W00dyW00dAuthor Commented:
Well thanks for the suggestions, but I have not found the root cause for my issue.  I will have to tell the local tech to figure it out.

Thanks for the help.
0
 
W00dyW00dAuthor Commented:
Thanks for the suggestion.  Unfortunately I cant find the root of my issue but you did help answer my question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.