Skip to content

FileLogger swallows exceptions #214

Open

Description

@elharo

Affected version

HEAD

Bug description

PrintStream does not properly report failure to write messages.

  1. Use an OutputStream or OutputStreamWriter instead everywhere inside this class
  2. Deprecate getPrintStream
  3. Have getPrintStream return a PrintStream wrapped around the output stream
  4. Add getOutputStream method.
  5. Replace usages of getPrintStream in this plugin with getOutputStream

Activity

  1. SwatiKumari250 commented on Oct 12, 2026

    @SwatiKumari250

    Hi, I’d like to work on this issue as a Java contribution. I’m planning to add an OutputStream-based API while keeping the existing PrintStream API compatible, update internal usages, and add regression tests for write failures. Is this issue still available to work on, and is this approach acceptable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions