Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting --log-level to ERROR or WARNING removes Job Summary block #2659

Closed
FairW opened this issue Apr 25, 2024 · 2 comments
Closed

setting --log-level to ERROR or WARNING removes Job Summary block #2659

FairW opened this issue Apr 25, 2024 · 2 comments
Assignees

Comments

@FairW
Copy link

FairW commented Apr 25, 2024

azcopy version: 10.22.0 on Linux

./azcopy/azcopy copy '../filearchive/*' 'https://?' --overwrite ifSourceNewer --recursive --log-level "ERROR" --from-to=LocalBlob

The summary section in enclosed screendump (present in logfile when --log-level is set to INFO) is not displayed when setting --log-level to ERROR or WARNING.
It would be nice to have the summary section whatever --log-level is set.
-Maybe this is a feature because summary section is generated based on available content in the log file (i.e. only when INFO or DEBUG is set..)?

image

@tanyasethi-msft tanyasethi-msft self-assigned this Apr 25, 2024
@gapra-msft
Copy link
Member

@FairW are you still experiencing this with the latest AzCopy? (10.24.0) We recently added a feature to print some of these summaries no matter the log level above Error #2553

@FairW
Copy link
Author

FairW commented Apr 29, 2024

I tried version 10.24.0 - and you are right; using --log-level [ "ERROR" | "WARNING" ] now output s the summary block I was looking for.
-Thanks! Case closed.

@FairW FairW closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants