Enable colored logging in Observability view
rob
HOBBYOP

a month 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

brody
EMPLOYEE

a month 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?


rob
HOBBYOP

a month ago

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


brody
EMPLOYEE

a month ago

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


rob
HOBBYOP

a month ago

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


brody
EMPLOYEE

a month ago

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


rob
HOBBYOP

a month 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?


brody
EMPLOYEE

a month 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

2 days ago

+1


Loading...