Skip to content

Change from Write-SimpleLogFile to OutputOverrides on Test-ExchAVExclusions#1970

Merged
dpaulson45 merged 5 commits into
microsoft:mainfrom
iserrano76:LogsOnTest
Feb 8, 2024
Merged

Change from Write-SimpleLogFile to OutputOverrides on Test-ExchAVExclusions#1970
dpaulson45 merged 5 commits into
microsoft:mainfrom
iserrano76:LogsOnTest

Conversation

@iserrano76
Copy link
Copy Markdown
Contributor

Issue:
Moved the log function from Write-SimpleLogFile to OutputOverrides in order to remove Write-SimpleLogFile

Reason:
Simplify the code and use the same function in all scripts

Fix:
Change the functions

Validation:
Test in lab.
Original Script:
image

New one:
image

Output files
Original:
image

New one:
image

BadExclusions file, has the same information on both cases.

ExchAvExclusions.log in the original:
image

Test-ExchAvExclusions-Results-***
image

Test-ExchAvExclusions-Debug-***
image

@iserrano76 iserrano76 requested a review from a team as a code owner January 31, 2024 19:00
Comment thread Diagnostics/AVTester/Test-ExchAVExclusions.ps1 Outdated
Comment thread Diagnostics/AVTester/Test-ExchAVExclusions.ps1 Outdated
@dpaulson45 dpaulson45 self-requested a review February 8, 2024 14:04
@dpaulson45 dpaulson45 merged commit ce42858 into microsoft:main Feb 8, 2024
@iserrano76 iserrano76 deleted the LogsOnTest branch February 8, 2024 14:13
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.

2 participants