Skip to content

Thread-local buffer size in existing threads is not adjusted on close+reopen #4

@mattiasflodin

Description

@mattiasflodin

If you create a log object and open it with a thread_input_buffer_size value of X, perform some logging, close the log, and reopen it with a new value Y for thread_input_buffer size, then the existing thread-local buffer sizes are not adjusted to match the new size. The size is only taken into account when the thread-local buffer is accessed for the first time.

Creating a new log object is fine, as this allocates a new TLS variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions