Skip to content
Snippets Groups Projects
Commit c305bdc1 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-log' into 'dev'

F log

See merge request !68
parents ddb10dcd acda4d7b
No related branches found
No related tags found
2 merge requests!69Release v0.7.0,!68F log
Pipeline #34424 passed
......@@ -175,8 +175,6 @@ def loadpath(path, include, exclude, prefix, dryrun, forceAllowSymlinks, caosdbi
for f in files:
totalsize += f.size
print("Made in total {} new files with a combined size of {} "
"accessible.".format(len(files), convert_size(totalsize)))
logger.info("Made in total {} new files with a combined size of {} "
"accessible.".format(len(files), convert_size(totalsize)))
......@@ -249,6 +247,10 @@ exclude is given preference over include.
raise ValueError(
"Do not use a localpath and in- or exclude simultaneously!")
# configure logging
logger.addHandler(logging.StreamHandler(stream=sys.stdout))
logger.setLevel(logging.INFO)
con = db.get_connection()
con.timeout = float(args.timeout)
con._login()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment