3 ms·
Ask HN: How often do you investigate issues in production vs. looking at logs?
Something I've noticed is that I am having to look at production systems manually to do debugging alongside the logs which just made me wonder how other people were doing it
- davydm 5mo ago1. the logs hopefully tell you where to look 2. the logs hopefully give you enough context to construct a physical test (ie, replicate) 3. the physical test hopefully gives enough context to write an automated test 4. we write the automated test, submit to staging, do the physical test again 5. PROFIT!
- aspectrr 5mo agoPROFIT BABYYY
- warren455 5mo agoIn my experience logs are rarely enough for browser automation issues. I usually end up reproducing the actual session manually because timing/state problems often don’t show up clearly in logs.
- aspectrr 5mo agoyeah those are especially nasty. the logs are cryptic and not helpful when most of the the issues will be seen visually in the browser
- kartik_malik 5mo agowe don't lol, we used to do but these day everyone is doing vibe coding and nobody looking at the logs or error but i use sentry for my side project
- aspectrr 5mo agoyeah time to pipe it into claude and tell me what is wrong
- kartik_malik 5mo agoexcatly
- LogicCraft678 5mo agoCertain bugs don’t really make sense until you interact with the real system
- aspectrr 5mo agoyeah that's kinda how I feel but wanted to see other's experience