make log_name required for syslog
make sure mode and port are strings