TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What's the most annoying part about logging?

3 点作者 Nevin1901超过 2 年前
I was trying to add logging to my application when I realized how time consuming and expensive it was. What are some of your guys' problems with logging?

4 条评论

incomingpain超过 2 年前
In terms of logging within the app? Dont all developers just do?<p>except BaseException as exc: print(exc)<p>Then you ask them to toss it at syslog server. It&#x27;s running 5 year old log4j and you cry a little.<p>So they throw your logs at the syslog server... but someone turned on &#x27;logging trap debugging&#x27; for all cisco devices. &quot;Because we cant miss anything&quot;<p>The disk is full because it produces 250gb of logs per hour. If we were using cloud logging it would be $50,000&#x2F;month in costs.<p>So you end up as a lumberjack and quit IT so you can do some logging you dont hate.
bananarchist超过 2 年前
Technical problems I have with logging: it is manual in that I cannot just turn on logging for lines 345-387, or for function doTheThing(), I have to add log statements and monitor wherever they are output (or even set up their outputting). For compiled languages this seems like a tough problem to solve. For interpreted languages to deny me this feature is a slap in the face.
solardev超过 2 年前
For me, it&#x27;s the deforestation and soil erosion.
jstx1超过 2 年前
It feels pointless and wasteful a lot of the time.