mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
rrs/tools/rrs_unique_recipes.py: Change to use get_logger from common.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
669d58d191
commit
12e6d9a9e0
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user