Logging Best Practices – MDC, Ingestion, and Scale
Where should you add logs in a method? Should you even log in this method? If so what data should you include in the log? How to phrase the message?
Dont Roll Out Your Log Message Use Log Statements Stuff You Already Log Lists Field Must Always Be Private
Source: dzone.com