From: John Spray Date: Wed, 5 Feb 2014 17:47:17 +0000 (+0000) Subject: Timestamp stdout log output X-Git-Tag: 1.1.0~1671^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca83b7b23b7aa9d054141431f4bc1864d6df20c6;p=teuthology.git Timestamp stdout log output Signed-off-by: John Spray --- diff --git a/teuthology/__init__.py b/teuthology/__init__.py index b141370aa..bd88d3cc7 100644 --- a/teuthology/__init__.py +++ b/teuthology/__init__.py @@ -4,5 +4,5 @@ from .orchestra import monkey monkey.patch_all() import logging -logging.basicConfig(level=logging.INFO) +logging.basicConfig(level=logging.INFO, format='%(asctime)s.%(msecs)03d %(levelname)s:%(name)s:%(message)s') log = logging.getLogger(__name__)