def access_warn(request, msg=None):
 ai = AccessInfo(request)
 ai.log(logging.WARN, msg)

def access_warn ( request , msg = None ) : ai = AccessInfo ( request ) ai . log ( logging . WARN , msg )
write to access log with a warn log level .