Controller logging improvements #1281
Labels
area/API
API objects and controllers
area/monitoring
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/feature
Well-understood/specified features, ready for coding.
Expected Behavior
Controller code was recently migrated to use a structured logging library. A basic structure was added to the logs as part of this work - revision, configuration, route names & namespaces are uplifted from the message into its own key value pairs. The advantage of such uplifting is that such fields can act as a filters to search within messages.
However; a detailed analysis on the current logs needs to be done and more structure to the logs should be added as appropriate. Below is a proposed guideline by @grantr to determine if something should be kept in the log message vs should be a separate key/value pair in the logs:
The text was updated successfully, but these errors were encountered: