From 12e6d9a9e0925c137c674807be2908269d036573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Mon, 6 Jul 2015 18:07:32 -0500 Subject: [PATCH] rrs/tools/rrs_unique_recipes.py: Change to use get_logger from common. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aníbal Limón --- rrs/tools/rrs_unique_recipes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rrs/tools/rrs_unique_recipes.py b/rrs/tools/rrs_unique_recipes.py index 44095c2..bcabd41 100755 --- a/rrs/tools/rrs_unique_recipes.py +++ b/rrs/tools/rrs_unique_recipes.py @@ -13,7 +13,7 @@ import optparse import logging sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__)))) -from common import common_setup, update_repo, get_pv_type +from common import common_setup, update_repo, get_pv_type, get_logger common_setup() from layerindex import utils @@ -30,7 +30,7 @@ if __name__=="__main__": help = "Enable debug output", action="store_const", const=logging.DEBUG, dest="loglevel", default=logging.INFO) - logger = utils.logger_create("HistoryUpgrade") + logger = get_logger("UniqueRecipes", settings) options, args = parser.parse_args(sys.argv) logger.setLevel(options.loglevel)