The verbose debug flag that created a 120GB log file overnight
by•
Turned on verbose trace logging on a microservice to track down an elusive race condition in dev.
Fixed the bug, merged the PR, but forgot to revert the log level back to warn before deploying to staging.
The service printed every single database connection, payload frame, and socket ping to disk.
Came in the next morning to an out-of-disk-space alert because the log file had swollen to 120GB overnight.
1 view
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.