diff MoinMoin/util/abuse.py @ 6076:f4ec84967c27

add colon to make log_attempt even more parseable
author 'Karl O. Pinc' <kop@meme.com>
date Mon, 15 Sep 2014 22:10:45 -0500
parents 3f7f4cef7c2a
children
line wrap: on
line diff
--- a/MoinMoin/util/abuse.py	Mon Sep 15 21:53:09 2014 -0500
+++ b/MoinMoin/util/abuse.py	Mon Sep 15 22:10:45 2014 -0500
@@ -31,7 +31,7 @@
         else:
             username = u'anonymous'
     level = (logging.WARNING, logging.INFO)[success]
-    msg = """%s: status %s: username "%s": ip %s: page %s"""
+    msg = """: %s: status %s: username "%s": ip %s: page %s"""
     status = ("failure", "success")[success]
     ip = request and request.remote_addr or 'unknown'
     logging.log(level, msg, system, status, username, ip, pagename)