changed logging options to use syslog