tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
How to configure flushing klog by syslog
Hello,
I am trying to use printf() in kernel module for debugging purposes and
I cannot find how to force flushing klog by syslogd.
I found syslogd option -S. Manual page says: "
-S Sync kernel messages to disk immediately.
After adding to rc.conf: syslogd_flags="-S" nothing changes.
Does exist way how to flush message from kernel c code (something
similar like flush(FILE*) in user mode) or by any change in kernel
settings or services configuration ?
Peter
Home |
Main Index |
Thread Index |
Old Index