added syslog config to sample