Skip to content

[BUG] Debug messages are printed to log #852

Closed
@jbarlowbignell

Description

@jbarlowbignell

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The code has started printing debug messages to via log.Printf(). For example:

2023/09/19 09:27:23 websocket: discarding reader close error: io: read/write on closed pipe

It seems to have been introduced recently:

https://github.com/gorilla/websocket/blame/666c197fc9157896b57515c3a3326c3f8c8319fe/conn.go#L1025

Expected Behavior

No debug messages are printed to the console.

Steps To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions