-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize log format of relay proxy #85
Comments
Good point. This wasn't an intentional difference; shouldn't be hard to fix. |
Oh... I see why it's that way. Ugh. Go's built-in Logger does not have any notion of "levels", and there is no way to make it prepend a string like "DEBUG:" to every log message that you write; all you can do is prepend a string to the whole line. That's not a desirable format— it would be much better to put the timestamp first— but as long as the loggers are implemented as a |
Ah no, I spoke too soon, it's a pretty easy fix after all. |
In the upcoming release, we're planning to standardize the format as follows:
Messages that aren't tied to a specific environment would omit the |
add ability to specify CA certs; remove InsecureSkipVerify parameter
The 5.9.2 release includes this change. |
Relay proxy emits different log formats, is there anyway to standardize the logs to one format and let the timestamps be with milli or micro or nano second precision along with TimeZone? Sorry, coming from Java land and these type of log statements seems non standard.
We are planning to push Relay Proxy logs to Elasticsearch through fluentd/fluentbit and having one standard helps the log aggregation layer.
Sample of Current Logs - Notice two different formats
The text was updated successfully, but these errors were encountered: