Bug fix: create /log/ if not exists.