Share via

AzCopy --log-level option does not work

Anonymous
2022-07-18T17:32:51+00:00

Hello,

I'm using AzCopy.exe to move files from local storage to a blob container in Azure storage. I'm having issues with the log file because the log files are too large. I'm trying to use the "--log-level" option to limit logging to only ERRORS but this does not work. AzCopy always uses the default logging level which creates large, verbose log files. In other words, the "--log-level" option does not appear to work.

I am using the latest version of AzCopy (v10.15.0).

I have tried using ERROR, NONE, WARNING and PANIC with the --log-level option but none of these work.

Below is an example of the command I am using with AzCopy:

.\azcopy.exe copy "<source>" "https://<destination>" --log-level ERROR --recursive --overwrite ifSourceNewer

Is anyone else having the same issue? Can someone provide an example of how they're using the --log-level option successfully? I really need to use AzCopy to move files but I cannot deal with log files that are large in size. Any help will be much appreciated! Thanks.

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-18T18:40:15+00:00

    You are most welcome. Glad to help

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-07-18T18:10:02+00:00

    Hi MikeDubyaJR,

    I'm Dyari. Thanks for reaching out.

    I am sorry but I would suggest posting this query to our neighbor forum from the link below. They are more oriented with regards to this type of issue and there will be IT Pros/System Admins/Server Admins/AD Admins who are available that will be able to fulfill your query:

    https://docs.microsoft.com/en-us/answers/index....

    Have a nice day.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-07-18T18:36:47+00:00

    Thanks, DYARIBARHAM. I'll try the other forum like you suggested. Have a great day.

    Was this answer helpful?

    0 comments No comments