Skip to main content

Logging

Browse all articles, tutorials, and guides about Logging

6posts

Posts

Docker
|9 min read

Docker Desktop Switched New Containers to the local Log Driver. We Measured What That Changes

Docker Desktop 4.94 made local the default log driver for new Linux containers, while Docker Engine on your servers still uses json-file with no rotation. We wrote the same 500,000 lines through both. local kept every line in 24 MB where json-file used 84 MB. A file-tailing collector read none of them.

FinOps
|13 min read

Your Logs Cost More Than the Service That Emits Them

Log ingestion is priced per gigabyte and indexing is priced per event, which means a service emitting small lines pays far more than its byte count suggests. Here is the arithmetic on a real server, why the usual advice to "log less" misses, and the five levers that actually move the bill.

Kubernetes
|8 min read

How Do I Get Logs from All Pods of a Kubernetes Replication Controller?

Learn how to retrieve logs from all Pods managed by a Kubernetes replication controller. Understand the commands and best practices for effective logging.

Terraform
|8 min read

How to Configure CloudWatch Logs Subscription Filter to Lambda With Terraform

Learn how to stream CloudWatch Logs to a Lambda function using Terraform, including proper permissions and error handling.

Linux
|6 min read

How to Grep a Continuous Stream in Real-Time

Learn how to filter live log streams with grep, including line-buffering for immediate output, following log files, and monitoring command output as it happens.

Bash
|6 min read

How to Redirect and Append Both stdout and stderr to a File in Bash

Learn different methods to capture both standard output and error streams in Bash, including appending to files and separating streams for better logging.