Skip to content

Unexpected System Stream Logging in Ostrich Library #95

@kfriedberger

Description

@kfriedberger

Problem Description

The JavaSMT project integrates Ostrich as a dependency and assumes that Ostrich does not produce logging output to system streams such as System.err or System.out (or their Scala equivalents, Console.err and Console.out) unless explicitly requested. However, Ostrich currently generates such output, which interferes with JavaSMT's expectations and may disrupt downstream applications relying on clean system stream behavior.

To address this, please either:

  • Remove the use of system stream outputs entirely, or
  • Make the logging configurable, allowing users to disable it explicitly.

Example Output

The following is an example of unwanted output observed during execution:

Running backward propagation
   ... sat

Problematic Code Locations

The issue stems from code within the Ostrich repository that uses Console or similar system stream outputs.
Relevant instances can be found here:

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