mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-03 07:40:28 +08:00
* Update slog handlers to support configured extra_fields In addition to configuring output format users can configure the fields which are included in log messages. Prior to this our slog handlers didn't support this feature and always output the default fields. Now, both the slog and logrus output is identical no matter the extra_fields configuration as verified by TestExtraFields. It was also found that due to the way the logurs json formatter was configuring itself in CheckAndSetDefaults the timestamp was always included in the final output even if it was not included in the configured extra_fields. * fix: update component comment