Variable clarification $log to $logpath