def log_message(self, format, *args):
        if len(self.client_address) > 0:
            addr = BaseHTTPRequestHandler.address_string(self)
        else:
            addr = "-"

        sys.stdout.write("%s - - [%s] %s\n" % (addr,
                         self.log_date_time_string(), format % args))
dataset/ETHPy150Open nginxinc/nginx-ldap-auth/backend-sample-app.py/AppHandler.log_message/original