nuke icon indicating copy to clipboard operation
nuke copied to clipboard

Disable colorized output

Open pellared opened this issue 2 years ago • 3 comments

Description

It should be possible (or documented) how to disable Nuke's colorized output. It is handy e.g. when outputing to a file.

Usage Example

One of the popular way to do it is to support NO_COLOR env var: https://no-color.org/

Alternative

This is how I hack it right now on Bash/Zsh: TERM= nuke > build.out

Could you help with a pull-request?

No

pellared avatar Dec 07 '22 14:12 pellared

FYI, nuke writes file logs. So you could as well redirect to null.

matkoch avatar Dec 07 '22 22:12 matkoch

  1. Where is the log file created?
  2. Is it possible to change the logging message template?

pellared avatar Dec 08 '22 08:12 pellared

  1. It's in the docs
  2. Only by full Serilog reconfiguration

matkoch avatar Dec 08 '22 09:12 matkoch