aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-05-13 14:39:53 +0200
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-05-13 14:39:53 +0200
commit6b9779bb4e98b636db41903549a8d64af81d9f71 (patch)
tree68ac2edc46414d20e0d42c460c04e5461748debb
parent2d131cd335b35914133d3dd8d1d8f5741fc38eb0 (diff)
Add yardstick package
JIRA: - Change-Id: Icb1c08befb66e883c11166eb36670252d63e9cf9 Signed-off-by: Jörgen Karlsson <jorgen.w.karlsson@ericsson.com>
-rw-r--r--yardstick/__init__.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/yardstick/__init__.py b/yardstick/__init__.py
new file mode 100644
index 000000000..b799c765f
--- /dev/null
+++ b/yardstick/__init__.py
@@ -0,0 +1,18 @@
+##############################################################################
+# Copyright (c) 2015 Ericsson AB and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+import logging
+import logging.config
+
+logging.basicConfig(
+ level=logging.WARNING,
+ format='[%(asctime)s] %(name)-20s %(filename)s:%(lineno)d %(levelname)s %(message)s',#noqa
+ datefmt='%m/%d/%y %H:%M:%S')
+logging.getLogger(__name__).setLevel(logging.INFO)
+