Skip to content

[C++] Multi-threaded logging can mix up messages #49433

@pitrou

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

When using the C++ logging macros (ARROW_LOG) from multiple threads, messages often get mingled together, which makes the log much less readable and useful.

We should probably add some internal buffering so that logging each message is "atomic" wrt other messages.

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions