change example for new syslog interface