update gitignore file for caches and logs