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
Steps to reproduce:
node_exporter --log.format 'logger:syslog?appname=node_exporter&local=7' & less /var/log/syslog
Expected result: node_exporter log lines don't contain spelled-out severities or ANSI color codes.
Actual result: node_exporter log lines do contain severities and color codes.
Sep 4 22:16:31 btudb node_exporter[15767]: @cee:#033[34mINFO#033[0m[0000] Starting node_exporter (version=0.12.0, branch=master, revision=df8dcd2) #033[34msource#033[0m=node_exporter.go:135 Sep 4 22:16:31 btudb node_exporter[15767]: @cee:#033[34mINFO#033[0m[0000] Build context (go=go1.6.2, user=root@ff68505a5469, date=20160505-22:14:18) #033[34msource#033[0m=node_exporter.go:136 Sep 4 22:16:31 btudb node_exporter[15767]: @cee:#033[34mINFO#033[0m[0000] No directory specified, see --collector.textfile.directory #033[34msource#033[0m=textfile.go:57
The text was updated successfully, but these errors were encountered:
Yikes, I guess that's coming from the logging library. May be an issue for all use of our common logging0.
Sorry, something went wrong.
This issue was moved to prometheus/common#71
No branches or pull requests
Steps to reproduce:
Expected result: node_exporter log lines don't contain spelled-out severities or ANSI color codes.
Actual result: node_exporter log lines do contain severities and color codes.
The text was updated successfully, but these errors were encountered: