R
Railway11mo ago
sambhav

Does railway observability support for log level=warning ?

I have a NodeJs / svelte kit project and I am using just the standard console logs. All the console.log appear in railway observability tab as info (blue). whereas errors appear as read (which is correct. now for certain logs I want to mark them as warnings (preferably in orange color) as they are somewhat important to see but not critical. If I use console.warn in railway it still shows as red and are marked as errors. Is it possible to mark the logs as warnings in railway's observability tab and if so how ?
3 Replies
Percy
Percy11mo ago
Project ID: 20f1c8cb-7c67-4474-a8e7-7f50a349d80f
sambhav
sambhavOP11mo ago
20f1c8cb-7c67-4474-a8e7-7f50a349d80f
Brody
Brody11mo ago
log to stdout with level=warn and they will be coloured as warnings, I've tested this myself
Want results from more Discord servers?
Add your server