TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Guide to Logging

205 pointsby makaimcover 9 years ago

9 comments

jedbergover 9 years ago
I have a long rant about logging, but the TL;DR is: aggregated logging in general is useless don&#x27;t bother, everything you need to know should be in your monitoring system. Basically, if something is broken and it&#x27;s a problem, it will happen again, so you just start logging when something breaks. How do you know something breaks? Log your application metrics. Log your customer experience in the form of metrics and monitoring.<p>But don&#x27;t aggregate every code exception and warning. If they aren&#x27;t affecting your customer experience, who cares? And if they are affecting it, then it should be expressed as an application metric in your monitoring system.<p>Edit: To make my point a little clearer, I believe that central logging and aggregating should be available, just not turned on all the time.
评论 #10291549 未加载
评论 #10292679 未加载
评论 #10291389 未加载
评论 #10291352 未加载
评论 #10292957 未加载
评论 #10291620 未加载
评论 #10293135 未加载
mostlyjasonover 9 years ago
Hey guys I&#x27;m one of the technical editors for the guide. We created it because logging is really valuable for troubleshooting and monitoring systems. However, it&#x27;s a complex topic and so many resources today are spread around on different forums. We wanted to have a place to consolidate all that useful information into something much easier to read. If it helps a dev or ops person solve a problem faster or easier than we&#x27;ve done our job!<p>There is still a lot of content to be written for languages like python, ruby, and more. We&#x27;d love to have more contributors, or even just suggestions for the site. I can also get in touch with any of the authors if you have questions for them.
评论 #10293211 未加载
mugsieover 9 years ago
<a href="https:&#x2F;&#x2F;www.loggly.com&#x2F;ultimate-guide&#x2F;?s=parse+WSGI+logs&amp;post_type=post" rel="nofollow">https:&#x2F;&#x2F;www.loggly.com&#x2F;ultimate-guide&#x2F;?s=parse+WSGI+logs&amp;pos...</a><p>0 results<p><a href="https:&#x2F;&#x2F;www.loggly.com&#x2F;ultimate-guide&#x2F;?s=parse+python+logs&amp;post_type=post" rel="nofollow">https:&#x2F;&#x2F;www.loggly.com&#x2F;ultimate-guide&#x2F;?s=parse+python+logs&amp;p...</a><p>Gives you a page on NodeJS<p>Ultimate ... not so much.
评论 #10291397 未加载
评论 #10291200 未加载
strickjb9over 9 years ago
Your site&#x27;s readability would be greatly improved if you darkened the text color. #444 or darker is good enough for a white background.
packetizedover 9 years ago
&#x27;Become a Contributor&#x27; seems to mean &#x27;please give us your email address to be added to our mailing list.&#x27;<p>This seems moderately suspect.
DKnollover 9 years ago
Loggly is crazy expensive for what they have on offer (at least given my use case which is aggregating syslog and Windows event logs). You&#x27;re much better setting up Logstash or Graylog2 on-premises or in public cloud.
avn2109over 9 years ago
Was I the only one who was really hoping this was going to be about best practices for cutting down trees?
mirimirover 9 years ago
I find nothing on tor or lighttpd :(
acheronover 9 years ago
My four-year-old watches this show, whence I&#x27;ve learned all about logging: <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Mighty-Machines-In-The-Forest&#x2F;dp&#x2F;B00008YZ0E" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Mighty-Machines-In-The-Forest&#x2F;dp&#x2F;B0000...</a>
评论 #10291124 未加载