Added git ignore to cache and logs directory