We have a project where we are setting the cache dir and the log dir in the ProjectConfiguration?:
When executing the log:rotate task, however, it seems the custom cache directory is not being used, because the following error occurs:
Failed to make cache directory "/mnt/sites/branches/emma.unet.nl/1.0.7/cache/batch/test/config" while generating cache for configuration file "config/config_handlers.yml".
I have searched the code for both the log:rotate task and the config cache handling, but have not found the cause of this issue myself. The CLI does load the ProjectConfiguration? right at the start, which should ensure no issues with the loading of the cache directory, still it does not work. Perhaps someone else will find the cause of this issue.