3 ms·
One question I always have about logging: how do I log valid and expected but prohibited actions? That is, the system is behaving as designed but the user is s
by Pxtl 4y ago
One question I always have about logging: how do I log valid and expected but prohibited actions? That is, the system is behaving as designed but the user is seeing an error message because they're using the system wrong, and I want to know how often this is happening?
- ambicapter 4y agoSounds just like INFO to me. There's a difference between logging to users, logging to system administrators, and logging to developers.
- rollulus 4y agoInfo, because it is not actionable.
- sofixa 4y agoThere are dedicated tools such as Sentry for cases like this (well in general for error collection and management, but also cover this scenario). They capture all relevant environment, and can help you detect if users are "using it wrong" only on Safari or only since version x.y, indicating a problem elsewhere.