Fix for issue #20--forever unable to open log file