Add --log-to-stdout option.