Skip to content

Feature: Separate debug mode flags for blobs #1396

@mk-pmb

Description

@mk-pmb

Is your feature request related to a problem? Please describe.
Currently, with DEBUG= I see nothing, and with DEBUG=minecraft-protocol, my logs are cluttered with long data URLs from the ping response's favicon.

Describe the solution you'd like
Standard debug mode should avoid dumping large chunks of binary(-like) data. Those blobs should be printed only with additional flags. In my case, since even login fails, I don't know what else might be there beyond the favicon, but I imagine someone who wants to debug player skins may want to not enable the flag for chunk data.

Describe alternatives you've considered
Current work-around: Filter output through sed.

Additional context

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