Bug 38893 - [XVS C6SR1] Default IDE log files include Xamarin account email address
Summary: [XVS C6SR1] Default IDE log files include Xamarin account email address
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- normal
Target Milestone: 4.1.0 (C7)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-02-18 23:14 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2016-06-02 11:23 UTC (History)
6 users (show)

Tags: BZRC6SR1S1_C6S1
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Brendan Zagaeski (Xamarin Team, assistant) 2016-02-18 23:14:42 UTC
[XVS C6SR1] Default IDE log files include Xamarin account email address




## Regression status: "regression" / intentional change in Cycle 6 – Service Release 1

This is a new behavior in Cycle 6 – Service Release 1.




## Steps to replicate

1. Open Visual Studio.

2. Ensure you are logged into your Xamarin account.

3. Connect VS with the Mac build host.




## Results

The `%LOCALAPPDATA%\Xamarin\Logs\1[124].0\*Ide.log` file includes the user's email address:

> Mac user: user@example.com with iOS license: Business will be activated

...

> Mac was activated for user: user@example.com with iOS license: Business




## Possible improvements

a. Maybe only add these lines to the log file if verbose logging is enabled (if Visual Studio was started with `devenv /log`)?

b. There are various possibilities for more sophisticated approaches. For example, the account data could be logged to a separate file that is not included in the default "Help -> Xamarin -> Zip Logs" but it _is_ included in a new "Help -> Xamarin -> Zip Logs with Account Data" menu item. Admittedly that exact idea seems like it might add more complexity/clutter than it would be worth. (It might make more sense just to remove these particular new log lines altogether.)




Thanks!
Comment 4 xamarin-release-manager 2016-02-24 19:48:39 UTC
Fixed in version 99.0.0.1620 (master)

Author: jmt
Commit: 9449569fe361c1295e171cbb9fe6964dacc87fb2 (xamarin/XamarinVS)
Comment 6 xamarin-release-manager 2016-03-03 12:19:36 UTC
Fixed in version 4.1.0.44 (cycle7)

Author: jmt
Commit: 42de9774b565d93aa001eb48a093bace9066914c (xamarin/XamarinVS)