You should `git add  /log` when it is empty. And then it won't be ignored itself.