-
Notifications
You must be signed in to change notification settings - Fork 222
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
why AzcopyVersion 10.18.1 doesnot show detailed log even after defining log verbosity with --log-level INFO for the log file #2807
Comments
cat "/path/to/file.txt" | azcopy cp "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" --from-to PipeBlob --log-level INFO |
10.18 is quite an older version. Kindly upgrade to the latest version and see if logging is working fine or not. |
Hi @vibhansa-msft, we don't want to upgrade azcopy version and keeping the same version is there any possible way that we can get detailed logs.. Command I run: Difference in logs xbrhdph10101:HDB:ph1adm ~/.azcopy 63> cat 01a989f9-23f8-3c4b-5149-d9d25f35a5c2.log |
Try using log-level to debug instead of info and you may get more detailed logs. |
Hi @vibhansa-msft, Tried but it's also not working cat "/path/to/file.txt" | azcopy cp "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" --from-to PipeBlob --log-level DEBUG azthdbh20201:HDB:bh2adm ~/.azcopy 55> cat 457a6db6-768d-e643-47fa-279bd84afef3.log |
Which version of the AzCopy was used? AzcopyVersion 10.18.1
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux) LINUX
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
cat "/path/to/file.txt" | azcopy cp "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" --from-to PipeBlob --log-level
What problem was encountered?
No detailed log
$ cat 4fee856d-db1b-3347-6aec-14eb756b7486.log
2024/09/13 09:54:40 AzcopyVersion 10.18.1
2024/09/13 09:54:40 OS-Environment linux
2024/09/13 09:54:40 OS-Architecture amd64
2024/09/13 09:54:40 Log times are in UTC. Local time is 13 Sep 2024 09:54:40
2024/09/13 09:54:40 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-09-13T09:54:35Z or --include-after=2024-09-13T09:54:35Z
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?
When I run higher version 10.25.1, I can see detailed log like PUT operation and all but we don't want to upgrade to higher version and need detailed log with current azcopy version that we are using i.e. 10.18.1
The text was updated successfully, but these errors were encountered: