7

You know what's hard...

Fixing a bug which occurred in production without having any logs because you log that useful info at debug level. 😧

Now take pen and paper, do calculation on your own and speculate what would have happened in production.

Comments
  • 3
    That's my usual way of working.
  • 0
    If somebody can reproduce the bug assuming it is affordable to take the hit, you can enable the DEBUG level for those specific loggers for a predefined time period
  • 1
    Not really webdev, but I regularly execute my code by hand to debug it.
Add Comment