130
Logging Sucks - A review of challenges with logging
(loggingsucks.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Might be a stupid question but wouldn’t it be a good job for fucking AI to read these and tell you where the interesting parts are?
Logs' purpose is to tell you what actually happened in the system. I don't think it is a good idea to use something that "hallucinates" to tell you what really happened.
LLM would be great to parse all that data, but I think you miss OP's point. AI can be useful to automate mundane jobs, i.e. jobs you can't get away from. OP's point in my view is verbose logs are noisey & difficult to parse, because you're logging everything unnecessarily. If you Log interesting things and mark them with context & logging levels, Then you can dive in as deep as you need, when you need. Why add complexity (& other hazards) of AI when you can fix the root of the problem first yourself.