move syslogger as condition compile