Pip json logging. When - is used as file name it writes to stdout.