structured logs custom timestamp
zhelezkov
PROOP
2 months ago
Hey!
It would be cool to be able to pass a timestamp field in structured logs output, which would be used as a real log timestamp, not as an attribute.
I noticed that in async environment, log timestamp which is provided by railway is slightly off(sometimes can be even 2 secs off), and even with having trace id, it's not super convenient seeing logs in the ingestion order, not in an actual execution order.
for example, in log like this, timestamp field should be treated as an actual timestamp and used on the UI
{ "level": "info", "message": "A minimal structured log", "timestamp": "2025-12-23T23:08:20.336Z" }Thanks
0 Threads mention this feature
0 Replies