You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How do we globally redirect STDERR logs to STDOUT with Nuke v9.x ?
#1460
Hey, as mentioned in the FAQ section, as well as in several issues in this repo, tools like Docker CLI & Git seems to write to STDERR. There was a way to globally override their loggers, so that the output is redirected to STDOUT. This seems to be obsolete now, since these logger properties are missing from the generated tool documents.
I've tried looking through the recent change logs, issues and discussions, but I cannot seem to understand why the Action<OutputType, string> delegates were removed from the DataClassGenerator.cs.
What would be the new way to redirect the output one-time if we have multiple targets that utilize Docker CLI or Git statements ? ToolOptions.Extensions.SetProcessLogger<T>(Action<OutputType, string>) is marked as obsolete.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hey, as mentioned in the FAQ section, as well as in several issues in this repo, tools like
Docker CLI&Gitseems to write toSTDERR. There was a way to globally override their loggers, so that the output is redirected toSTDOUT. This seems to be obsolete now, since these logger properties are missing from the generated tool documents.I've tried looking through the recent change logs, issues and discussions, but I cannot seem to understand why the
Action<OutputType, string>delegates were removed from theDataClassGenerator.cs.What would be the new way to redirect the output one-time if we have multiple targets that utilize
Docker CLIorGitstatements ?ToolOptions.Extensions.SetProcessLogger<T>(Action<OutputType, string>)is marked as obsolete.All reactions