[フレーム]
TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
The Rise of the Cognitive Architect
Dec 10th 2025 1:00pm, by Frederic Lardinois
How To Create an AI Use Policy
Dec 9th 2025 9:00am, by Jennifer Riggins
One Year of MCP: Looking Back, and Forward
Dec 2nd 2025 11:00am, by Cody De Arkland
7 Non-Negotiables of AI-Driven Operations
Dec 2nd 2025 5:00am, by Cristina Dias
Shipping Syslog Data to Elasticsearch With Fluent Bit
Nov 28th 2025 7:00am, by Sharad Regoti
The New Role of Enterprise Architecture in the AI Era
Nov 27th 2025 10:00am, by Ankush Dhar and Minav Suresh Patel
Platform Engineering’s True Value Is in Application Development
Nov 27th 2025 6:00am, by Massimiliano Bianchessi
AWS, Google Build a Multicloud Bridge
Dec 2nd 2025 9:00am, by Joab Jackson
3-Hour Cloudflare Outage Knocks Out AI Chatbots, Shopify
Nov 20th 2025 7:00am, by Steven J. Vaughan-Nichols
How to Wrangle Cloud Bursting Costs
Nov 13th 2025 1:00pm, by Idan Yalovich
DevOps Is Still Waiting for Its Cursor Moment
Dec 5th 2025 7:00am, by Zafar Abbas
The New Role of Enterprise Architecture in the AI Era
Nov 27th 2025 10:00am, by Ankush Dhar and Minav Suresh Patel
Platform Engineering’s True Value Is in Application Development
Nov 27th 2025 6:00am, by Massimiliano Bianchessi
Kubernetes GPU Management Just Got a Major Upgrade
Dec 11th 2025 1:00pm, by Michelle Gienow
Why Open Platforms Are the Future of Kubernetes Deployments
Dec 11th 2025 11:00am, by Chris Brown and Aarthi Mahesh
Canonical Extends Kubernetes Long-Term Support to 15 Years
Dec 9th 2025 9:30am, by Steven J. Vaughan-Nichols
AI Can Deliver Deployment-Aware Risk Analysis for Kubernetes
Dec 5th 2025 9:00am, by Yair Allouche and Sabina Aledort
How Capital One Cut Tracing Data by 70% With OpenTelemetry
Dec 5th 2025 2:00pm, by B. Cameron Gain
When To Log, and When To Shut Up
Dec 3rd 2025 9:00am, by Mike Shi
From Cloud Native To AI Native: Where Are We Going?
Nov 28th 2025 12:00pm, by Heather Joslyn
Shipping Syslog Data to Elasticsearch With Fluent Bit
Nov 28th 2025 7:00am, by Sharad Regoti
What To Know Before Building Fluent Bit Plugins With Go
Nov 21st 2025 12:00pm, by Phil Wilkins
A Guide To Building Scalable AI Agents
Dec 8th 2025 11:00am, by Doug Sillars
The Platform PM: Building an Ecosystem, Not Just a Product
Dec 5th 2025 11:00am, by Kateryna Korotieieva
Platform Engineering’s True Value Is in Application Development
Nov 27th 2025 6:00am, by Massimiliano Bianchessi
Composable Platforms: Why You Need One
Nov 20th 2025 8:00am, by Massimiliano Bianchessi
Rust vs. C++: a Modern Take on Performance and Safety
Oct 22nd 2025 2:00pm, by Zziwa Raymond Ian
Building a Real-Time System Monitor in Rust Terminal
Oct 15th 2025 7:05am, by Tinega Onchari
SQL vs. Python: Frenemies of the Data World
Oct 14th 2025 7:00am, by Ivan Novick
Coding With the Gemini CLI Tool
Dec 12th 2025 6:00am, by Jack Wallen
AWS Tackles AI's 'Too Much Information' Problem
Dec 7th 2025 9:00am, by Darryl K. Taft
Trae IDE Auto-Installs Python Libraries as You Code
Dec 5th 2025 1:00pm, by Jack Wallen
Why Bloomberg Chose Vendor-Neutral Java Over Big Tech
Oct 2nd 2025 5:00pm, by Darryl K. Taft
Vibe Coding Fails Enterprise Reality Check
Sep 10th 2025 4:00pm, by Darryl K. Taft
New Tool Ends Java Configuration Nightmare in K8s
Aug 21st 2025 3:00pm, by Darryl K. Taft
Why Next.js Co-Creator Tony Kovanen Prefers the Sidelines
Dec 12th 2025 8:00am, by Loraine Lawson
React Server Components Vulnerability Found
Dec 6th 2025 7:00am, by Loraine Lawson
Stop Blaming React for Your State Management Hangover
Dec 4th 2025 10:00am, by Alexander T. Williams
CSS-in-JS: The Great Betrayal of Frontend Sanity
Nov 28th 2025 8:00am, by Alexander T. Williams
Build Your First HTTP Server in Python
Nov 4th 2025 3:00pm, by Jessica Wachtel
Rust vs. C++: a Modern Take on Performance and Safety
Oct 22nd 2025 2:00pm, by Zziwa Raymond Ian
Trae IDE Auto-Installs Python Libraries as You Code
Dec 5th 2025 1:00pm, by Jack Wallen
Combining Rust and Python for High-Performance AI Systems
Dec 3rd 2025 1:00pm, by Zziwa Raymond Ian
Get Started With NLP Using Hugging Face and Python
Dec 1st 2025 8:00am, by Jessica Wachtel
Rust Goes Mainstream in the Linux Kernel
Dec 10th 2025 12:00pm, by Steven J. Vaughan-Nichols
Combining Rust and Python for High-Performance AI Systems
Dec 3rd 2025 1:00pm, by Zziwa Raymond Ian
Debian Mandates Rust for APT, Reshaping Ubuntu and Other Linux Distros
Nov 11th 2025 12:00pm, by Steven J. Vaughan-Nichols
Moving From C++ to Rust? ClickHouse Has Some Advice
Nov 5th 2025 7:00am, by Joab Jackson
Why Sudo-rs Brings Modern Memory Safety to Ubuntu 26.04
Oct 28th 2025 7:30am, by Steven J. Vaughan-Nichols
Go Power: Microsoft's Bold Bet on Faster TypeScript Tools
Mar 12th 2025 1:00pm, by Darryl K. Taft and Loraine Lawson
Oracle Won’t Release ‘JavaScript’ Without a Fight
Jan 11th 2025 5:00am, by Loraine Lawson
2025年12月03日 09:00:13
When To Log, and When To Shut Up
sponsor-clickhouse,sponsored-post-contributed,
Observability / Operations / Storage

When To Log, and When To Shut Up

In the end, great logging isn’t about capturing everything that happens. It’s about capturing what matters.
Dec 3rd, 2025 9:00am by
[画像:Featued image for: When To Log, and When To Shut Up]
Image from Pavel Ignatov on Shutterstock.

AltStyle によって変換されたページ (->オリジナル) /

ClickHouse sponsored this post. Insight Partners is an investor in ClickHouse and TNS.

Let’s be honest: Most logs are just noise.

[INFO] Starting process … probably.
[DEBUG] Made it to line 42 — still alive.
[TRACE] Function entered. Leaving soon.
[INFO] User clicked a button. Which one? No idea.
[WARN] Everything’s fine, just felt like warning you.
[DEBUG] Variable x = 7. Might change. Might not.
[INFO] Operation completed successfully (we think).
[TRACE] Loop iteration #12 of infinite sadness.
[DEBUG] Placeholder for meaningful message.
[INFO] Shutting down gracefully … except when not.

As developers, we too often sprinkle logs like confetti — every function entry, every variable, every heartbeat. Before long, terabytes of meaningless lines pile up, filling dashboards no one reads.

We pay millions of dollars to observability vendors just to warehouse our junk. Every useless log line burns compute, disk and dollars. Logging without intent isn’t observability, it’s littering.

Even with modern observability platforms that [画像:Structured logging makes charting easy and efficient]

Structured logging makes charting easy and efficient.

While many observability platforms offer schema on read, that flexibility comes at a cost. Every query forces the system to scan and parse raw text, line by line, to infer a structure that should have existed in the first place. These queries are computationally expensive, slower and more difficult for a user to write.

Prestructured logs flip that inefficiency on its head. When your data already has shape, you can take advantage of event belongs in the log stream. Some things deserve structure and timing — exactly what spans and metrics are for. If you’re measuring latency, user flow or distributed causality, emit a span instead. Spans capture duration, context and relationships across services and tell you why something was slow or broken, where a log can only shout that it happened.

The same logic applies to metrics, turning repetitive logs into real signals you can alert on and aggregate efficiently. If you find yourself logging the same message hundreds of times per second, you’re not observing, you’re just wasting storage. Measure it once, summarize it, and let your metrics and traces do the heavy lifting.

Log Levels Are For Humans, Not Machines

Logging isn’t a personal debugging diary; it’s a shared artifact for your future teammates. Every line should help someone understand what happened without guessing what you meant. Write logs for the next incident, not your current mood. Your logs tell the story of your system. Make it one worth reading, for example:

  • ERROR: Page a human. Something’s broken.
  • WARN: Unexpected but survivable. Investigate later.
  • INFO: Routine system behavior worth knowing.
  • DEBUG/TRACE: Temporary developer insight — should rarely leave your laptop.

Be deliberate. Don’t mark something as an error unless it truly requires action. Overusing ERROR numbs your alerts and trains teams to ignore what matters. Every log level should communicate intent: what needs fixing now, what needs watching and what can be ignored.

That said, trace logging has its place. For example, behind the scenes for ClickHouse Cloud, we The filter processor supports dropping unwanted logs, metrics or traces using the OpenTelemetry Transformation Language (OTTL) with conditions like severity, resource attributes or content patterns.

  • If your observability platform allows, you can
    ClickHouse is the fastest, open-source analytical database, built for speed at scale. ClickHouse is used for data warehousing, real-time analytics, observability and powering agentic AI, where performance and cost matters.
    Learn More
  • The latest from ClickHouse
    TRENDING STORIES
    Group Created with Sketch.
    Mike Shi leads observability at ClickHouse, is the co-founder of HyperDX and co-creator of ClickStack. Mike remains a hands-on developer, contributor to the open source OpenTelemetry and ClickStack projects, and speaks regularly at observability-focused events. He believes that while observability...
    Read more from Mike Shi
    ClickHouse sponsored this post. Insight Partners is an investor in ClickHouse and TNS.
    SHARE THIS STORY
    TRENDING STORIES
    TNS owner Insight Partners is an investor in: ClickHouse.
    SHARE THIS STORY
    TRENDING STORIES
    TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
    The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.