Skip to content

Commit

Permalink
just use the root logger
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-butcher committed Jul 16, 2024
1 parent 9fcd509 commit 036cab4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/transferrer/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from transferrer.common import should_download_file, shoot_number_to_folder_path, get_source_bucket

logger = logging.getLogger(__name__)
logger = logging.getLogger()

# This variable governs the degree of parallelism to use when downloading files.
# The correct number is to be discovered by experimentation
Expand Down
2 changes: 1 addition & 1 deletion src/transferrer/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from transferrer.common import should_download_file, shoot_number_to_folder_path, get_source_bucket

logger = logging.getLogger(__name__)
logger = logging.getLogger()


def restore_s3_folder(bucket, s3_folder: str, days_to_keep=1):
Expand Down
2 changes: 1 addition & 1 deletion src/transferrer/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import boto3

logger = logging.getLogger(__name__)
logger = logging.getLogger()

TARGET_BUCKET = os.getenv("TARGET_BUCKET", "wellcomecollection-archivematica-staging-transfer-source")

Expand Down

0 comments on commit 036cab4

Please sign in to comment.