Skip to content
Browse files

Add lineno to the testrunner logs

Suggest by Mark
Example:
[2012-05-08 11:26:10,830] - [rest_client:710]

Change-Id: I20510593ce1843895d8c18444edbcd96ebc911ff
Reviewed-on: http://review.couchbase.org/15741
Tested-by: Karan Kumar <karan@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Karan Kumar <karan@couchbase.com>
  • Loading branch information...
1 parent 6e07bc2 commit e0f113600764e5621e77b95f3aabe88a0cf0d0f7 @kkumar86 kkumar86 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 logging.conf.sample
View
4 logging.conf.sample
@@ -9,7 +9,7 @@ level=DEBUG
keys=simple,complex
[formatter_simple]
-format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
+format=[%(asctime)s] - [%(module)s:%(lineno)d] %(levelname)s - %(message)s
[formatter_complex]
format=[%(asctime)s] - [%(module)s] [%(thread)d] - %(levelname)s - %(message)s
@@ -30,4 +30,4 @@ args=('@@FILENAME@@',)
class=StreamHandler
formatter=simple
level=@@LEVEL@@
-args=(sys.stdout,)
+args=(sys.stdout,)

0 comments on commit e0f1136

Please sign in to comment.
Something went wrong with that request. Please try again.