

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] %s\n' % (self, self.ctx['user'], self.log_date_time_string(), (format % args))))

dataset/ETHPy150Open nginxinc/nginx-ldap-auth/nginx-ldap-auth-daemon.py AuthHandler.log_message/VarMisuse@58/83 `addr`->`self`