Skip to content

Add option to print less logs ? #4

@ch-m-emery

Description

@ch-m-emery

Issue raised by Charlotte Delmas (Issue #17 in https://github.com/CS-SI/BAS)

Description
Is it possible to add an option to print less logs ? for now my logs look like this, over and over again :

2025-04-09 12:31:38,589 - bas.rivergeomproduct - INFO - Dropping virtual edge nodes 2025-04-09 12:31:38,590 - root - INFO - ------------------------------------------------------------ 2025-04-09 12:31:38,590 - root - INFO - Compute cross-sections parameters (coordinates and normals) 2025-04-09 12:31:38,590 - root - INFO - ------------------------------------------------------------ 2025-04-09 12:31:38,590 - root - INFO - Compute alpha values for the cross-sections 2025-04-09 12:31:38,590 - root - INFO - Compute alpha values for the centerline points 2025-04-09 12:31:38,590 - root - INFO - Compute cross-sections centers coordinates 2025-04-09 12:31:38,591 - root - INFO - Compute raw normals 2025-04-09 12:31:38,591 - root - INFO - 2025-04-09 12:31:38,624 - bas.rivergeomproduct - INFO - Dropping virtual edge nodes 2025-04-09 12:31:38,626 - root - INFO - ------------------------------------------------------------ 2025-04-09 12:31:38,626 - root - INFO - Compute cross-sections parameters (coordinates and normals) 2025-04-09 12:31:38,626 - root - INFO - ------------------------------------------------------------ 2025-04-09 12:31:38,626 - root - INFO - Compute alpha values for the cross-sections 2025-04-09 12:31:38,626 - root - INFO - Compute alpha values for the centerline points 2025-04-09 12:31:38,626 - root - INFO - Compute cross-sections centers coordinates 2025-04-09 12:31:38,626 - root - INFO - Compute raw normals 2025-04-09 12:31:38,626 - root - INFO -
These logs are displayed an excessive number of times, which is interrupting my job in the pipeline because the log size exceeds 4,194,304 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions