I neglect writing good loggers. I need someone to write a good Hitchhiker's Guide to logging well.
-
-
-
Replying to @terrible_coder
I just feel like most of my coding practice, I have lots of ideas and preferences for why and how to do things. Except logging. I do that haphazardly. And, when there is a problem, my logs rarely help, so they are bad logs.
1 reply 0 retweets 0 likes -
Replying to @generativist
I feel like logging is tough to make sense of generally because its just a lot of info. Ingesting the logs into a logviewer like logstash is helpful because it's definitely easier to see patterns as a function of time.
2 replies 0 retweets 1 like -
Replying to @terrible_coder
Yea. It's also tough to learn good patterns though, because use of logs and writing logging code is separated by a lot of time and code. That's why I think there is room for a best practices guide that accretes lessons.
1 reply 0 retweets 0 likes -
Replying to @generativist
So there's a lot to decompress here. I think logging is particularly helpful in environments where there's a potential for error. I've always thought that logs should be stories of a transaction and in the happy-path, you see a successful transaction's lifecycle.
1 reply 1 retweet 1 like -
Replying to @terrible_coder @generativist
In the unhappy one, there's a lot to be learned about why wasn't happy. For scientific computing, I think this is difficult to glean. For web programming, it's super useful.
1 reply 0 retweets 1 like -
Replying to @terrible_coder @generativist
But since it should read like a story, it's hard to prescribe best practices.
1 reply 0 retweets 2 likes
I think "it should read like a story" is a good prescription though!
-
-
Replying to @generativist @terrible_coder
This is one of the things we always follow. Logs Should read like a story. The tale of the user, his accidents along the journey, his noteworthy incidents and whether or not he makes it to the destination successfully without dying a gory death at the hands of 500 or 400 foes.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.