Best of LoggingAugust 2024

  1. 1
    Article
    Avatar of astro_sourceAstro·2y

    Astro 4.13

    Astro 4.13 has been released, providing stabilized experimental features like request rewriting and content collection JSON schemas. Improvements to logging are also included, making performance bottlenecks easier to detect. Users are guided on how to upgrade their existing projects using the new version.

  2. 2
    Article
    Avatar of last9Last9·2y

    Python Logging Best Practices: The Ultimate Guide

    Logging is a crucial aspect of Python development for tracking application behavior and troubleshooting. This guide delves into setting up logging, avoiding common pitfalls, and using advanced techniques to better handle logs in various project sizes. It emphasizes the importance of good logging practices to grasp application flow, debug effectively, get notifications of potential issues, and gain insights into user behavior and application performance. Key strategies include using the logging module efficiently, configuring loggers, handlers, formatters, and incorporating best practices for performance and security.

  3. 3
    Article
    Avatar of newstackThe New Stack·2y

    How To Manage Linux Log Services

    Managing Linux log files is crucial for system troubleshooting, auditing uptime, and maintaining security configurations. This post covers the rsyslog and journald logging services, practical commands for managing these services, and configurations for log file handling and forwarding. The rsyslog service uses plain text files and can forward logs to a central server, while journald offers indexed entries and better filtering capabilities but requires the journalctl command for log management. Regular log file review is essential for ensuring system security and performance.

  4. 4
    Article
    Avatar of bartwullemsThe Art of Simplicity·2y

    .NET 8– Improved build output

    Starting with .NET 8, a new terminal logger enhances build output by using better colors, displaying execution times, indicating build statuses, grouping warnings and errors, and providing hyperlinks to output files. This logger isn't enabled by default and requires the `--tl` flag or setting the `MSBUILDTERMINALLOGGER` environment variable to `true`, `false`, or `auto`.

  5. 5
    Article
    Avatar of lobstersLobsters·2y

    PlatformLab/NanoLog: Nanolog is an extremely performant nanosecond scale logging system for C++ that exposes a simple printf-like API.

    NanoLog is an extremely performant nanosecond-scale logging system for C++ that can achieve over 80 million logs per second at a median latency of just over 7 nanoseconds. It achieves this by extracting static log information at compile-time, logging dynamic components during runtime, and deferring formatting to an offline process. NanoLog is available in two versions: a Preprocessor version and a C++17 version, each with its own integration method. The C++17 version is recommended for ease of use. The generated logs are in a binary format and must be decompressed to be human-readable.

  6. 6
    Article
    Avatar of towardsdevTowards Dev·2y

    Getting Started with a Basic Elastic SIEM Lab: A Step-by-Step Guide

    Setting up a basic SIEM lab using Elastic on a Kali VM can help entry-level professionals gain practical experience in log management and security monitoring. Key steps include creating an Elastic account, setting up a Kali VM, collecting logs, performing Nmap scans, creating dashboards, and establishing alerts. This hands-on approach helps in understanding network traffic and identifying potential threats effectively.