• v2025.04 b8e0c37482

    nick released this 2025-04-01 19:59:25 -04:00 | 14 commits to master since this release

    New Features & Enhancements:

    • Debug-Level Logging:

      • Added the ability to set the logging level dynamically via environment variables or script arguments.
      • When the logging level is set to debug, detailed logs are generated, providing more insights for troubleshooting and debugging.
    • Conditional File Saving:

      • Individual page data files (e.g., enforcement_page_x_) are now only saved when the logging level is set to debug. This helps reduce unnecessary file generation during normal operation.
    • Aggregated Data File Saving:

      • The aggregated data file is always saved with info level logging, regardless of the logging setting. This ensures that the main output data is consistently saved.

    Fixes:

    • No specific bug fixes were made in this release, but the logging and file-saving behavior has been enhanced to provide better control and debugging capabilities.

    Documentation:

    • Updated the README and internal documentation to reflect the changes in logging behavior and how to configure it.

    How to Use:

    • Logging Level: To enable debug logging, set the LOG_LEVEL environment variable to DEBUG or pass --log_level debug as an argument when running the script.

    • File Saving: With debug logging enabled, individual page data files will be saved in the data/ directory. These files are named as enforcement_page_x_... and contain the raw data fetched from the API. The aggregated file will always be saved, even if debug logging is off.

    Known Issues:

    • No known issues in this release.
    Downloads