4 ms·
If you are not the one responsible for deploying your code, please avoid hard-coding everything. I had developers tell me “I expect mongodb at this (hardcoded)
by andmarios 11y ago
If you are not the one responsible for deploying your code, please avoid hard-coding everything.
I had developers tell me “I expect mongodb at this (hardcoded) address”. Not funny.
Another funny story with “log level” was when a scala app occasionally went astray and returned more than 100GB of logs (level WARN) in less than an hour, filling my disks.
Most of the time developers can't understand deployment. They think it is the same as testing on their laptops or test VMs; run everything manually on the same machine with root privileges, delete everything once you are done.