We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cake.Bakery logging is not turned on when it gets launched by OmniSharp.
Cake.Scripting.Transport.Tcp.Client.ScriptGenerationProcess will never pass --verbose argument to Cake.Bakery.exe.
Cake.Scripting.Transport.Tcp.Client.ScriptGenerationProcess
--verbose
Reason:
Cake.Scripting.Transport
LoggerFactory
ScriptGenerationProcess
if (_logger.IsEnabled(LogLevel.Debug)) { arguments += " --verbose"; }
services.AddLogging(builder => { var workspaceInformationServiceName = typeof(WorkspaceInformationService).FullName; var projectEventForwarder = typeof(ProjectEventForwarder).FullName; builder.AddFilter( (category, logLevel) => environment.LogLevel <= logLevel && // NOTICE BELOW LINE. Condition from point #1 of this bug report will always return false. Category is Cake.Scripting.Transport.Tcp.Client.ScriptGenerationProcess category.StartsWith("OmniSharp", StringComparison.OrdinalIgnoreCase) && !category.Equals(workspaceInformationServiceName, StringComparison.OrdinalIgnoreCase) && !category.Equals(projectEventForwarder, StringComparison.OrdinalIgnoreCase)); configureLogging?.Invoke(builder); });
This could be considered a bug either in OmniSharp (due to log filter) or Cake.Bakery ScriptGenerationProcess.
Some options are:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cake.Bakery logging is not turned on when it gets launched by OmniSharp.
Cake.Scripting.Transport.Tcp.Client.ScriptGenerationProcess
will never pass--verbose
argument to Cake.Bakery.exe.Reason:
Cake.Scripting.Transport
usesLoggerFactory
which is passed to it by OmniSharp.ScriptGenerationProcess
expects following condition to be met in order to enable verbose logging:This could be considered a bug either in OmniSharp (due to log filter) or Cake.Bakery ScriptGenerationProcess.
Some options are:
The text was updated successfully, but these errors were encountered: