def log_message(self, format, *args): "overridden from BaseHTTPServer" pdlogging.log("ADMIN: %s - - [%s] %s\n" % (self.address_string(), self.log_date_time_string(), format%args))
def log_exception(self): nil, t, v, tbinfo = pdlogging.compact_traceback() pdlogging.log("ADMIN(Exception) %s - %s: %s %s\n"% (ctime(), t,v,tbinfo))
def handle_error(self, request, client_address): "overridden from SocketServer.BaseServer" nil, t, v, tbinfo = pdlogging.compact_traceback() pdlogging.log("ADMIN(Exception) %s - %s: %s %s\n"% (ctime(), t,v,tbinfo))