Logging
Domain: grugbrain.dev Shared: | Tags: programmingThe Grug Brained Developer on logging:
grug tips on logging are:
log all major logical branches within code (if/for) if "request" span multiple machine in cloud infrastructure, include request ID in all so logs can be grouped if possible make log level dynamically controlled, so grug can turn on/off when need debug issue (many!) if possible make log level per user, so can debug specific user issue
Discovered via haiku2077 on Hacker News.