Added fallback for empty log-file path