Pickup correct logger on windows

As there is only one process running on windows we were adding multiple
handlers to one logger.