bore icon indicating copy to clipboard operation
bore copied to clipboard

tracing colors cannot be suppressed

Open ciis0 opened this issue 2 years ago • 1 comments

I am running bore to expose local ports to a remote Windows server and it works quite well, thank you!

The only annoyance I have noticed that log/tracing colors do not seem to be able to be turned off, which make the log files look funny when for example wrapping bore in WinSW (for running as a Windows service).

image

I tried NO_COLOR, that only affects the help colors; but that does not affect tracing: https://github.com/tokio-rs/tracing/issues/2388.

Opening this issue to make you aware of that so it could be fixed when there is a fix in tokio tracing. :)

ciis0 avatar Nov 30 '22 18:11 ciis0

I'm glad it's working well for you! That's awesome :)

I didn't realize that tracing-subscriber had no way to turn off colors via environment variable. Sounds like the upstream issue has some activity so I think we could wait and see, and I'm happy to publish a release of bore when tracing is updated.

ekzhang avatar Nov 30 '22 19:11 ekzhang