add the log file option.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>