Skip to content
New issue

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

Disable colorized output #1071

Open
pellared opened this issue Dec 7, 2022 · 3 comments
Open

Disable colorized output #1071

pellared opened this issue Dec 7, 2022 · 3 comments

Comments

@pellared
Copy link

pellared commented Dec 7, 2022

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

@matkoch
Copy link
Member

matkoch commented Dec 7, 2022

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

@pellared
Copy link
Author

pellared commented Dec 8, 2022

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

@matkoch
Copy link
Member

matkoch commented Dec 8, 2022

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

@matkoch matkoch removed the triage label Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants