use syslog(), and this will go to rsyslog as long as it is started, and to kmsg before rsyslog started and after it died (regardless whether that was abnormally or cleanly). Lennart -- Lennart Poettering - Red Hat, Inc.