summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-03-11 21:26:21 -0600
committerIan Cordasco <graffatcolmingov@gmail.com>2016-03-11 21:26:21 -0600
commit2c17b4342f8a6f24d0e034b322cefec4f7f5d5df (patch)
tree01fc3b58d4441fa035584a89898fafae5d7df6af
parent4c797c9ff7300b39601943e841d98dcb3cb691e3 (diff)
downloadflake8-2c17b4342f8a6f24d0e034b322cefec4f7f5d5df.tar.gz
Better log format
-rw-r--r--flake8/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake8/__init__.py b/flake8/__init__.py
index 416c951..53e56f8 100644
--- a/flake8/__init__.py
+++ b/flake8/__init__.py
@@ -37,7 +37,8 @@ _VERBOSITY_TO_LOG_LEVEL = {
2: logging.DEBUG,
}
-LOG_FORMAT = '[flake8] %(asctime)s %(levelname)s %(message)s'
+LOG_FORMAT = ('[%(name)-25s]:%(threadName)s %(relativeCreated)6d '
+ '%(levelname)-8s %(message)s')
def configure_logging(verbosity, filename=None, logformat=LOG_FORMAT):