def METHOD_NAME(self, logger):
    # try to mimic to normal syslog messages
    fmt = "{asctime} {name}: {message}"
    datefmt = "%b %e %H:%M:%S"
    syslog_form = logging.Formatter(fmt, datefmt, self.LINESTYLE)
    syslog_addr = None
    location = self.pyload.config.get("log", "syslog_location")
    if location == "remote":
        host = self.pyload.config.get("log", "syslog_host")
        port = self.pyload.config.get("log", "syslog_port")
        syslog_addr = (host, port)
    else:
        folder = self.pyload.config.get("log", "syslog_folder")
        if folder:
            syslog_addr = folder
        elif sys.platform == "darwin":
            syslog_addr = "/var/run/syslog"
        elif os.name == "nt":
            # TODO: Recheck
            syslog_addr = os.path.join(self.pyload.userdir, "logs", "syslog")
        else:
            syslog_addr = "/dev/log"
        os.makedirs(syslog_addr, exist_ok=True)
    sysloghdlr = logging.handlers.SysLogHandler(syslog_addr)
    sysloghdlr.setFormatter(syslog_form)
    logger.addHandler(sysloghdlr)