Add file logging and redis cache for qa environment.