Fix paralellizing logger
Merge pull request #1378 from psav/fix_logger

Fix paralellizing logger