Skip to content

Multiple Openevolve run calls in parallel result in clobbered loggers #295

Open

Description

@theahura

If you run openevolve run calls in parallel, each parallel run ends up duplicating each other's logs, because they are all registered against a global logger namespace. This makes the logging basically impossible to use properly

Activity

  1. codelion commented on Oct 17, 2025

    @codelion
    Member

    Yeah, this is a known issue, we need to not take the global namespace.

  2. theahura commented on Oct 18, 2025

    @theahura
    ContributorAuthor

    I think #297 is related to this. I am seeing system hangs, and when I use pyspy it points to file access contention leading to deadlocks by the logger

  3. Mqw7373 commented on Sep 29, 2026

    @Mqw7373
    Contributor

    Hi, I'd like to work on this issue. I'll trace how loggers and handlers are set up when two OpenEvolve runs execute concurrently, then add a regression test for duplicated or mixed logs. I'll focus the fix on isolating each run's logging and cleaning up its handlers. The optional log prefix requested in #290 can be a separate follow-up.

    Please let me know if there are compatibility constraints you'd like me to account for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions