2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

chore(logging) set logging level to INFO

This commit is contained in:
Gavin D'souza 2020-05-21 12:45:28 +05:30
parent 89dd9721c2
commit 4480ea21ac
2 changed files with 2 additions and 1 deletions

View File

@ -127,6 +127,7 @@ Do you want to continue and overwrite it?'''.format(repo_name)):
install_app(app=app_name, bench_path=bench_path, verbose=verbose, skip_assets=skip_assets) install_app(app=app_name, bench_path=bench_path, verbose=verbose, skip_assets=skip_assets)
sys.exit() sys.exit()
print('\n{0}Getting {1}{2}'.format(color.yellow, repo_name, color.nc))
logger.log('Getting app {0}'.format(repo_name)) logger.log('Getting app {0}'.format(repo_name))
exec_cmd("git clone {git_url} {branch} {shallow_clone} --origin upstream".format( exec_cmd("git clone {git_url} {branch} {shallow_clone} --origin upstream".format(
git_url=git_url, git_url=git_url,

View File

@ -455,7 +455,7 @@ def setup_logging(bench_path='.'):
logger.addHandler(hdlr) logger.addHandler(hdlr)
logger.addHandler(log_hndlr) logger.addHandler(log_hndlr)
logger.setLevel(logging.DEBUG) logger.setLevel(logging.INFO)
return logger return logger