logging


1. Don’t Write Logs by Yourself (AKA Don’t Reinvent the Wheel) Never, ever use printf or write your log entries to files by yourself, or handle log rotation by yourself. Please do your ops guys a favor and use a standard library or system API call for this.



Learn more about how you can get your security code if you've turned on two-factor authentication.