configure write logs to syslog
add a optparse require to import script