Get the right path to the logs