On Fri, 2010-02-12 at 15:42 -0800, hong zhang wrote:
> > Getting kernel log from /var/log is not a good idea. 
> 
> I know /var/log/syslog can hold more kernel message than dmesg. Any other 
> disadvantage?

That's true.  But syslogd can omit low-priority messages from the
kernel.  Irrelevant logs from other software can be present.  The
timestamps are rarely needed and take extra space.  They also don't
compress well.  The is no convenient alternative to "dmesg -c" to clear
the log and start over.  I would not recommend clearing the system log
like that, as it can contain important information from the userspace,
such as break-in attempts etc.

If the log buffer overflows, perhaps it's a good idea to disable
irrelevant debug options or to stop debug output as soon as the error
condition occurs.  If case of hangs, serial console could help.

-- 
Regards,
Pavel Roskin
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to