From: Jörgen Karlsson Date: Wed, 13 May 2015 12:39:53 +0000 (+0200) Subject: Add yardstick package X-Git-Tag: brahmaputra.1.0~255 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F545%2F1;p=yardstick.git Add yardstick package JIRA: - Change-Id: Icb1c08befb66e883c11166eb36670252d63e9cf9 Signed-off-by: Jörgen Karlsson --- 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) +