Append log directory.
Fix gitignore.