Basically, when you run an EasyEngine command everything will be stored in a debug log. This debug log can be found at :
/opt/easyengine/logs/ee.log
#error.log
/opt/easyengine/sites/<sitename>/logs/nginx/error.logs
#access log
/opt/easyengine/sites/<sitename>/logs/nginx/access.logs
#error.log
/opt/easyengine/sites/<sitename>/logs/php/error.logs
#access log
/opt/easyengine/sites/<sitename>/logs/php/access.logs
Other service’s logs such as Nginx-Proxy, MariaDB, Redis, etc. can be found at their respective directories at location :
/opt/easyengine/services/
Helpful when you want to purge single page cache or want to check if cache exists or not. This operation supports regex. So, if you want to remove all cache key having a specific keyword you can do that.
docker-compose -f /opt/easyengine/services/docker-compose.yml exec global-redis redis-cli --eval purge_all_cache.lua 0 , '<cachekey>'
docker-compose -f /opt/easyengine/services/docker-compose.yml exec global-redis redis-cli keys "<cachekey>"
docker-compose -f /opt/easyengine/services/docker-compose.yml exec global-redis redis-cli get "<cachekey>"