Can I sort logs to only show errors?

Is there a filter that only shows errors, not all logging output via the railway console?
7 Replies
Percy
Percy11mo ago
Project ID: 29a5fb27-3661-4597-af03-ec799c4720cd
Deani1232
Deani1232OP11mo ago
29a5fb27-3661-4597-af03-ec799c4720cd
Brody
Brody11mo ago
what logging format do you use? json? plaintext? structured plaintext?
Deani1232
Deani1232OP11mo ago
In the current version, it's a bit scattered. I'm really more interested in seeing errors thrown by nestjs, they highlight red in console, so they must be console.error in some way or another. I'm working on moving things over to Pino but it's not done yet.
Deani1232
Deani1232OP11mo ago
I want to be able to pull errors that look like this.
No description
Brody
Brody11mo ago
is there perhaps keyword text you could search for like [ERROR] yeah exactly!
Deani1232
Deani1232OP11mo ago
thanks not sure why this didn't occur to me
Want results from more Discord servers?
Add your server