Add "--log" option to send browser logs to file.