diff options
-rw-r--r-- | yardstick/__init__.py | 18 |
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) + |