Skip to content

High Speed Logging for Loguru Multi-Processing #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 28, 2024
Merged

High Speed Logging for Loguru Multi-Processing #432

merged 10 commits into from
Jul 28, 2024

Conversation

devsetgo
Copy link
Owner

@devsetgo devsetgo commented Jul 28, 2024

Pull Request Title: High Speed Logging for Loguru Multi-Processing

Description:

This pull request introduces high-speed logging capabilities for multi-processing scenarios using Loguru. The motivation behind this change is to enhance the performance and efficiency of logging in applications that utilize multiple processes, ensuring that logging does not become a bottleneck during execution.

Key Changes:

  1. Coverage Report Updates: The coverage.xml file has been updated to reflect the current state of code coverage, including new classes and methods that are now being tracked for coverage.
  2. Performance Improvements: The logging framework has been optimized to handle concurrent logging from multiple processes more effectively, which is crucial for applications that require high throughput and low latency.
  3. Enhanced Logging Mechanism: Adjustments have been made to the logging configuration to support faster log writing without sacrificing data integrity or readability.

Benefits:

  • Increased Performance: The new logging mechanism allows for faster log writes, which is essential for high-performance applications.
  • Improved Reliability: By ensuring that logging is efficient even under heavy load, we reduce the risk of losing log data in multi-processing environments.
  • Better Code Coverage Insights: The updated coverage report provides a clearer picture of the tested code, helping us identify untested areas and improve overall code quality.

This change is expected to significantly improve the logging capabilities of our application, particularly in environments where multi-processing is heavily utilized.

@devsetgo devsetgo added documentation Improvements or additions to documentation enhancement New feature or request Bug Fixes labels Jul 28, 2024
Copy link

@devsetgo devsetgo merged commit 1859e9a into main Jul 28, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fixes documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant