Skip to content

Log messages from bevy dependencies displayed as log instead of their name #13362

Open
@Satellile

Description

@Satellile

Bevy 0.13.1 // Windows 10

When I create an AudioBundle to play a sound, I get

[timestamp] INFO log: found the format marker [ff, fb] @ 0+2 bytes.
[timestamp] INFO log: using xing header for duration

printed in my log/console output. I'm creating Audiobundles often to play sounds, and it makes my log output very noisy; however, I couldn't suppress it using a filter and LogPlugin, as I didn't know the source of the log message.

The expected output would be

[timestamp] INFO symphonia_core::probe: found the format marker [ff, fb] @ 0+2 bytes.
[timestamp] INFO symphonia_bundle_mp3::demuxer: using xing header for duration

as in this case, symphonia is the source of the log message. Passing filter: "symphonia_core::probe=warn,symphonia_bundle_mp3::demuxer=warn".to_string(), as my LogPlugin filter still correctly filters out these log messages.

Similar behavior is observed for some other Bevy dependencies (e.g. log messages from naga are also showing up just as log)

Additional information

My Discord help thread: https://discord.com/channels/691052431525675048/1239685546972938381

Discord thread of someone else with the same issue: https://discord.com/channels/691052431525675048/1222256688527310958/1222256688527310958

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DiagnosticsLogging, crash handling, error reporting and performance analysisC-BugAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions