Skip to content

AzureRT S54 PR #2 - Record Debug Messages & Fix Add-AzureVhd #905

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

Merged
merged 13 commits into from
Sep 15, 2015

Conversation

huangpf
Copy link
Contributor

@huangpf huangpf commented Sep 14, 2015

No description provided.

```
Role                 : MicrosoftContosoDepartmentProjectCodeNameWorker
Extension            : RDP
ProviderNameSpace    : Microsoft.Windows.Azure.Extensions
Version              : 1.*
Id                   : MicrosoftContosoDepartmentProjectCodeNa-RDP-Production-Ext-0
...
```
…o r098

Conflicts:
	src/Common/AzurePSCmdlet.cs
@azurecla
Copy link

Hi @huangpf, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!


It looks like you're working at Microsoft (phuang). If you're full-time, we DON'T require a contribution license agreement.



If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@huangpf huangpf changed the title [do not merge] AzureRT S54 PR #1 - Record Debug Messages AzureRT S54 PR #1 - Record Debug Messages & Fix Add-AzureVhd Sep 14, 2015
@huangpf huangpf changed the title AzureRT S54 PR #1 - Record Debug Messages & Fix Add-AzureVhd AzureRT S54 PR #2 - Record Debug Messages & Fix Add-AzureVhd Sep 14, 2015
@huangpf
Copy link
Contributor Author

huangpf commented Sep 14, 2015

Fix #387

@@ -254,7 +257,7 @@ protected bool IsVerbose()

protected new void WriteError(ErrorRecord errorRecord)
{
FlushDebugMessages();
FlushDebugMessages(IsDataCollectionAllowed());
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to pass IsDataCollectionAllowed() just use it in FlushDebugMessages

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But we only want to log when there is an exception. Do you mean you want to log everything if data collection is allowed?

@ogail
Copy link
Contributor

ogail commented Sep 15, 2015

added a nit

ogail added a commit that referenced this pull request Sep 15, 2015
AzureRT S54 PR #2 - Record Debug Messages & Fix Add-AzureVhd
@ogail ogail merged commit a0a0390 into Azure:dev Sep 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants