Skip to content

Add ability to suppress error messages to console/stderr #127

@asonje

Description

@asonje

The qatlib library currently outputs error messages to console/stderr even when the calling application receives appropriate error return codes. This creates redundant console clutter, especially problematic for applications with fallback mechanisms that gracefully handle QAT errors.

Current Behavior

  • Error messages are always printed to stderr regardless of application needs
  • Messages are redundant since proper error codes are returned to the caller
  • No programmatic way to suppress these messages

Impact

  • Console output is cluttered with non-actionable error messages
  • Poor user experience
  • Current workaround of redirecting stderr is not always feasible

Requested Feature

A programmatic API or configuration option to suppress error message output while maintaining proper error code returns, allowing applications to handle errors silently when appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions