Using syslog library with C