Add yardstick package 45/545/1
authorJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Wed, 13 May 2015 12:39:53 +0000 (14:39 +0200)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Wed, 13 May 2015 12:39:53 +0000 (14:39 +0200)
JIRA: -

Change-Id: Icb1c08befb66e883c11166eb36670252d63e9cf9
Signed-off-by: Jörgen Karlsson <jorgen.w.karlsson@ericsson.com>
yardstick/__init__.py [new file with mode: 0644]

diff --git a/yardstick/__init__.py b/yardstick/__init__.py
new file mode 100644 (file)
index 0000000..b799c76
--- /dev/null
@@ -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)
+