scylladb / cql-stress

8 stars 4 forks source link

tracing: disable ansi colors #66

Closed muzarski closed 5 months ago

muzarski commented 5 months ago

SCT logs are hard to read because of the ansi colors emitted by the tracing-subscriber crate by default:

�[2m2024-01-05T13:09:31.237763Z�[0m �[31mERROR�[0m �[2mcql_stress_cassandra_stress::operation::write�[0m�[2m:�[0m write error �[3merror�[0m�[2m=�[0mInvalid message: Frame error: early eof �[3mpartition_key�[0m�[2m=�[0mBlob([76, 79, 55, 77, 53, 57, 56, 76, 77, 48])

This PR disables ansi colors in the tracing logs.