Added method to get the path to the log file