Skip to content

Commit

Permalink
send logs to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyNikiforov committed Sep 30, 2023
1 parent a7d4a8f commit f0a43be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- fix: send logs to stdout [#697](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/697)

## 1.16.1 (2023-09-27)

- fix: shared libraries throw INTERNAL_ERROR for some users [#690](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/690)
Expand Down
3 changes: 2 additions & 1 deletion src/icloudpd/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ def main(

logging.basicConfig(
format="%(asctime)s %(levelname)-8s %(message)s",
datefmt="%Y-%m-%d %H:%M:%S"
datefmt="%Y-%m-%d %H:%M:%S",
stream=sys.stdout,
)
logger = logging.getLogger("icloudpd")
if only_print_filenames:
Expand Down

0 comments on commit f0a43be

Please sign in to comment.