Make dotnet publish use LogInformation instead of LogTrace

This would make it have the same LogLevel as dotnet run so we'd have better diagnostics without having to change tests.
This commit is contained in:
Pranav K 2016-08-22 15:04:17 -07:00 committed by GitHub
parent d2f109ef6c
commit ec575595ad
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
var hostProcess = new Process() { StartInfo = startInfo };
hostProcess.ErrorDataReceived += (sender, dataArgs) => { Logger.LogWarning(dataArgs.Data ?? string.Empty); };
hostProcess.OutputDataReceived += (sender, dataArgs) => { Logger.LogTrace(dataArgs.Data ?? string.Empty); };
hostProcess.OutputDataReceived += (sender, dataArgs) => { Logger.LogInformation(dataArgs.Data ?? string.Empty); };
hostProcess.Start();
hostProcess.BeginErrorReadLine();
hostProcess.BeginOutputReadLine();