Skip to content

Commit

Permalink
Minor logging tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
d0ugal committed Oct 8, 2018
1 parent 68b77df commit 2cd1f40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dropbox-upload/dropbox_upload/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ def process_snapshot(config, dbx, snapshot):
bytes_ = os.path.getsize(path)
size = util.bytes_to_human(bytes_)
target = str(dropbox_path(config, snapshot))
LOG.info(f"Slug: {snapshot['slug']} Size: {size}")
LOG.debug(f"Slug: {snapshot['slug']}")
LOG.info(f"Size: {size}")
LOG.info(f"Created: {created}")
LOG.info(f"Uploading to: {target}")
LOG.debug(f"Uploading to: {target}")
try:
if dropbox.file_exists(dbx, path, target):
LOG.info("Already found in Dropbox with the same hash")
Expand Down

0 comments on commit 2cd1f40

Please sign in to comment.