Skip to content

Logging handling is not multiprocess safe #331

@nepstad

Description

@nepstad

Current PyOPIA implementation of logging to a single file is not guaranteed to work with multiprocessing, which may lead to log file corruption. If this problem shows up in practice, it can be fixed by implementing a log queue.

See: https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpatch / enhancementimproved functionality or patch indented for changes that require bumping only the PATCH numberpriority-low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions