Enable colored logging in Observability view

2 months ago

A while ago logs displayed on the project's Observability view allowed colored text, is there any way to enable it?
On a side note, is there any way to hide the time column?

Screenshots show the difference between Observability logs and similar ones in the Logs view.

8 Replies

2 months ago

I don't think we have changed anything on our end, are you sure your application is emitting logs with the applicable ANSI escape codes?


2 months ago

Hi Brody, as you can see the two screenshots were taken today and ANSI color codes are correctly interpreted in the Logs view


2 months ago

Do you have a screenshot showing the time when logs did work on the observability dashboard?


2 months ago

Not really, but that has been going on for weeks (if not months)


2 months ago

Ah then I would have to ask you to open a feedback post for it on the central station.


2 months ago

Just did, thanks for the heads up http://station.railway.com/feedback/enable-colored-logging-in-the-observabil-aa778d7f

As per the time column, is there any way to hide it?


2 months ago

There isn't; the optimal solution is to use JSON logs so that your own timestamp is not printed as part of the message.


m1rza-s
PRO

21 days ago

+1


Loading...