dandi / dandi-cli

DANDI command line client to facilitate common operations
https://dandi.readthedocs.io/
Apache License 2.0
22 stars 28 forks source link

Make logging work in case of multiple child processes (e.g. via currently used joblib.Parallel) #1495

Open yarikoptic opened 2 months ago

yarikoptic commented 2 months ago

Encountered while troubleshooting

If joblib does not implement it, we might want/need to e.g. via approach described in https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes . For now, in our single use in organize, I would just RF to return desired for logging side effects (error).