MLECO-1943: Documentation review
Major update for the documentation. Also, a minor logging
change in helper scripts.
Change-Id: Ia79f78a45c9fa2d139418fbc0ca9e52245704ba3
diff --git a/set_up_default_resources.py b/set_up_default_resources.py
index 362552a..47d2881 100755
--- a/set_up_default_resources.py
+++ b/set_up_default_resources.py
@@ -113,8 +113,6 @@
"""
current_file_dir = os.path.dirname(os.path.abspath(__file__))
download_dir = os.path.abspath(os.path.join(current_file_dir, "resources_downloaded"))
- logging.basicConfig(filename='log_build_default.log', level=logging.DEBUG)
- logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
try:
# 1.1 Does the download dir exist?
@@ -234,4 +232,8 @@
help="Do not run Vela optimizer on downloaded models.",
action="store_true")
args = parser.parse_args()
+
+ logging.basicConfig(filename='log_build_default.log', level=logging.DEBUG)
+ logging.getLogger().addHandler(logging.StreamHandler(sys.stdout))
+
set_up_resources(not args.skip_vela)