cartesi / rollups

Cartesi Rollups
30 stars 12 forks source link

Disable colored log messages in node #94

Closed gligneul closed 1 year ago

gligneul commented 1 year ago

📚 Context

By default, some node services print log messages with color, which is problematic because some log aggregators do not parse the color information properly.

✔️ Solution

Disable log colors in all services by default. Then, add a command line option (and env var) that enables the color.

📈 Subtasks

Apply the modifications to all services:

tuler commented 1 year ago

Is it configurable? color is nice for local execution (with sunodo)

gligneul commented 1 year ago

It probably can be configurable.

gligneul commented 1 year ago

I think this could be tackled with other minor format issues. Keeping all modifications in a single issue to improve code reuse will be better. https://github.com/cartesi/rollups-node/issues/25