[IMPROVEMENT] Unify logs with extra static info like module/method/function/line #5509
Labels
area/troubleshoot
Troubleshoot related
backport/1.4.4
backport/1.5.2
kind/improvement
Request for improvement of existing function
priority/0
Must be fixed in this release (managed by PO)
Milestone
Is your improvement request related to a feature? Please describe (馃憤 if you like this request)
Currently, in longhorn components' logs, there is no module, function, or line info to quickly identify the code. Usually, we will rely on the message to look up the potential code place. It's better to have logs with that info for troubleshooting purposes.
Describe the solution you'd like
Can leverage
CallerPrettyfier
to achieve the goal, and apply to all components and libraries.Additional context
N/A
The text was updated successfully, but these errors were encountered: