Best of LoggingJuly 2024

  1. 1
    Article
    Avatar of notedNoted·2y

    Dozzle - Self-Hosted Docker Container Log Monitoring

    Dozzle is a self-hosted tool for real-time monitoring and troubleshooting of Docker container logs. It allows you to view live log outputs, supports Docker Swarm for multiple node monitoring, and doesn't require a database or extra configuration. Features include fuzzy search, regex search, split-screen log viewing, memory and CPU usage stats, and multi-user authentication. It's lightweight, intuitive, and easily installed via Docker Compose.

  2. 2
    Article
    Avatar of rpythonReal Python·2y

    Logging in Python – Real Python

    Logging is a crucial practice for Python developers to record relevant information during code execution. Python's standard library includes a powerful logging module that helps in debugging, analyzing performance, and understanding application flow. This guide covers working with the logging module, setting up basic logging configurations, utilizing log levels, formatting log messages, directing log records through handlers, and defining logging rules with filters.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Uber’s Secret to Handle Millions of Logs per second with ClickHouse

    Uber overhauled its logging infrastructure by switching to ClickHouse, an open-source OLAP database, to handle millions of logs per second. The change addressed key issues they faced with ElasticSearch, such as developer productivity, performance, and scalability. ClickHouse offers high throughput ingestion, fast query performance, efficient storage, dynamic indexing, and clustering capabilities, making it a robust and scalable solution for Uber's massive logging needs.

  4. 4
    Article
    Avatar of foojayioFoojay.io·2y

    Effective Java Logging

    Effective logging is crucial for Java applications, especially in production environments where it assists in debugging, monitoring, and incident response. This guide discusses best practices for using SLF4J and Logback to achieve efficient, maintainable, and informative logging. Key benefits include improved observability, faster troubleshooting, enhanced incident response, and compliance. The guide also covers critical topics such as using appropriate log levels, logging meaningful messages, employing placeholders for dynamic content, asynchronous logging, securing sensitive information, and integrating logs with monitoring tools.

  5. 5
    Article
    Avatar of awegoAwesome Go·2y

    Runtime Log Level Change using Golang & GoFr

    Learn how to dynamically change the log level of your Golang application without restarting it using the GoFr framework. The process involves setting up a remote log level service endpoint that GoFr fetches periodically. This post also covers configurations, setting up a MySQL database, docker commands for MySQL, and the implementation of the log-level service in Golang, complete with code examples.

  6. 6
    Article
    Avatar of grafanaGrafana Labs·2y

    How to customize your Loki deployment with Ansible

    Discover how to deploy Grafana Loki using Ansible, including both default and customized configurations. Learn about different deployment methods, the Ansible Loki Role, and how to configure Grafana to explore your logs. The role supports major Linux distributions and offers flexibility for various environments. The post also provides links to further documentation and examples of dashboards using Loki.