Optimize set and show path to log file