3 ms·
I agree with pretty much all of this except: > Don’t keep “Logs” (similar to print) when building for production! Not logging in production code is a recipe f
by valuearb 6y ago
I agree with pretty much all of this except:
> Don’t keep “Logs” (similar to print) when building for production!
Not logging in production code is a recipe for not being able to fix some key user problems. Remote logging is mandatory for a high quality app.
- nhumrich 6y agoSimilarly, logging too much makes logs meaningless. Purpose-based specific log platforms can be useful, like, stack traces go to sentry, tracing goes to jaeger, stdout for global context stuff, etc. All of these going in one stream makes it almost as useless as no logs.
- posedge 6y agoI disagree. If you have too much, you can always filter. If you have too little, you're blind.