Do Not Log
I don&#x27;t get why people get so theological about logging.<p>If logs bring you some sort of value, then log away. If they don&#x27;t, then don&#x27;t. In some domains you absolutely crucially need logs, in others they&#x27;re largely a waste of time.<p>Logging is probably the most foolproof way to extract debugging information from your application. The killer feature of logging is that standard out very rarely breaks, no matter how bad things get it works. It will work from the moment the application starts, it will work in an OOM situation, will work if your network switch is on fire, when the DNS records are wrong and your technicians can&#x27;t even enter the building, it will work no matter how bad things are. If logging does somehow fail, then that is on you, in that scenario you have fucked up your architecture somehow.