Send console logs go stdout / stderr
Closed this issue · 2 comments
StefanKert commented
When sending logs to the console we do have two different streams that we can send data to. Stdout and sterror. Currently we are not differentiating these things which is especially annoying when calling the launcher via another application or a script.
Especially when working with bash or powershell you usually have the option to log thise streams differently with a standard pipe
E.g sendung error stream to different file and keeping just errors
dir 'C:\', 'fakepath' 2> .\dir.log
volllly commented
Hey, we are actually differentiating the output streams already 😁 https://github.com/fiskaltrust/middleware-launcher/blob/main/src/fiskaltrust.Launcher.Common/Extensions/LoggerConfigurationExtensions.cs#L15
StefanKert commented
Even better! Thanks a lot