Skip to content

Help with multiprocessing logging #551

@hildogjr

Description

@hildogjr

I am using tqdm 4.23 on Py3.5 on Ubuntu 16.04.

In the code example attached here I am trying to reproduce the same execution in a sequential process and in a multitasking. I am using the logging with the write channel redirect through tqdm writer.

While in the sequential I reach my goal:

Test 0
Test 1
Test 2
...

In the multithread I am getting twice the output (or errors when I modify the code):

My thread 5
My thread 5
My thread 6
My thread 6
....

Some could give me some tip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions