We started unity-accelerator through docker, but after starting, in the CacheDir directory, the log file could not be found. And tried to find the log file in the entire container, but also did not find the unity-accelerator.log file.
Start command:
docker run -p 10081:10080 -d -v "/home/unity/accelerator/test:/agent" unitytechnologies/accelerator
Search log files at the root of the container:
[code=Boo]root@53ff7db23693:/# find . -name "*.log"
./var/log/apt/term.log
./var/log/apt/history.log
./var/log/dpkg.log
./var/log/alternatives.log
An update today will change how you set the persist path and other options. The equivalent of the above is:
docker run -p 10081:10080 -d -v “/home/unity/accelerator/test:/agent” -e UNITY_ACCELERATOR_LOG_STDOUT=false unitytechnologies/accelerator
Though the persist path should default to “/agent”, setting it explicitly is fine – and of course you can change it to something else if you’d prefer. Use -e UNITY_ACCELERATOR_PERSIST=/agent
You can find more information at these links as well: