Skip to content

LogFlow Foundation (dev/main -> main)#1

Merged
Gearlux merged 14 commits intomainfrom
dev/main
Mar 1, 2026
Merged

LogFlow Foundation (dev/main -> main)#1
Gearlux merged 14 commits intomainfrom
dev/main

Conversation

@Gearlux
Copy link
Owner

@Gearlux Gearlux commented Mar 1, 2026

  1. Major Features

    • Multiprocess-Safe Logging: Core engine built on Loguru with enqueue=True and a cross-platform spawn context fix to prevent CI hangs.
    • Distributed Awareness: Automatic rank detection for PyTorch DDP, SLURM, and MPI. Console output is cleanly filtered to Rank 0.
    • Hierarchical Configuration: Supports pyproject.toml, logflow.yaml, environment variables, and XDG user configs with a strictly defined priority.
    • Framework Interoperability: Intercepts standard logging and warnings (from TF/PyTorch) into a unified stream.
    • CI/CD Pipeline: Fully configured GitHub Actions and local Jenkins pipeline with Linting (Black, Isort, Flake8), Type Checking (Mypy), and Test Coverage (94%).
  2. Files Added

  • logflow/core.py, logflow/config.py, logflow/discovery.py, logflow/intercept.py: Logic.
  • tests/: Comprehensive test suite (core, config, discovery, intercept, MP).
  • .github/workflows/ci.yml & Jenkinsfile: Automation.
  • README.md, RATIONALE.md, FUTURE_DEVELOPMENT.md: Documentation.
  • logflow.example.yaml: Config template.
  1. Engineering Assessment
    The code adheres to PEP 8, is strictly typed, and has high test coverage (94%). It uses surgical replace operations and avoids sleep() for synchronization.

@Gearlux Gearlux merged commit 3cf635a into main Mar 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant