Re: software watchdog

J Sloan (jjs@pobox.com)
Tue, 11 Dec 2001 00:17:50 -0800


gspujar@hss.hns.com wrote:

> Hi all,
>
> I am using software watchdog in my application. When the watchdog reboots the
> system,
>
> >>>printk(KERN_CRIT "SOFTDOG: Initiating system reboot.\n"); prints the message
> on the console.
>
> I put a delay of 5secs with mdelay, and I can see the message on the console.
> I wanted the message as a syslog,
>
> so I added kern.crit in /etc/syslog.conf file.,
> But I am not getting the above message in the log file.
> Can any one help me with this ????

Send the message to "*" instead of /var/log/messages

That, and/or arrange to do a sync before reboot.

I'm sure there are other ways as well...

cu

jjs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/