Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

capture azcopy log file #945

Merged
merged 5 commits into from
Jun 1, 2021
Merged

Conversation

bmc-msft
Copy link
Contributor

@bmc-msft bmc-msft commented Jun 1, 2021

In an attempt to understand failures in azcopy, this creates a temp directory and includes the logs from azcopy.

Note, this limits the log level to ERROR, as azcopy is quite verbose in it's logging.

async fn az_impl(mode: Mode, src: &OsStr, dst: &OsStr, args: &[&str]) -> Result<()> {
let temp_dir = tempdir()?;

// https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-configure#change-the-location-of-log-files
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

src/agent/onefuzz/src/az_copy.rs Show resolved Hide resolved
@ghost
Copy link

ghost commented Jun 1, 2021

Hello @bmc-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 18 hours, a condition that will be fulfilled in about 14 hours 26 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@bmc-msft bmc-msft merged commit 1a60bd8 into microsoft:main Jun 1, 2021
@bmc-msft bmc-msft deleted the capture-azcopy-log-file branch June 1, 2021 21:12
@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants