You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mtg only outputs logs in a format like below, it is not quite human-readable.
I am wondering if we could make a plan on supporting configuring the time format of the log.
{"level":"info","client-ip":"REDACTED","stream-id":"REDACTED","logger":"proxy","timestamp":1673594851101,"message":"Stream has been started"}
The text was updated successfully, but these errors were encountered:
Sorry for the late reply: I have very busy time now.
It is kinda possible but actually violates what I've tried to achieve. mtg produces structured logs https://www.loggly.com/use-cases/what-is-structured-logging-and-how-to-use-it/ so it has to be mainly consumed by some other means. Timestamp here is UNIX time. I'm afraid I can't change this field without violating backward compatibility. What I can do is to introduce a new field, like "iso-datetime" that will have ISO8601 or RFCXXX (do not recall a number).
Unfortunately, I do not have a time for doing that now. I'll probably take a sprint at the end of march/april to complete all pending mtg-related tasks so will consider it as a feature to have.
mtg only outputs logs in a format like below, it is not quite human-readable.
I am wondering if we could make a plan on supporting configuring the time format of the log.
The text was updated successfully, but these errors were encountered: