Shouldn't this just be @log_dir ... without /@name?