Better exception logs with debug logs in frequently accessed code