I want the “path” variable resolve to “C:\Log\Project1\log.txt” in the config file in the below configuration section I have copied where {LoggingDir}=“C:\Log” and {Octopus.Project.Name}=“Project1”. Currently the way it is defined Octopus is throwing error and build is failing.
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "#{LoggingDir}\\#{Octopus.Project.Name}\\log.txt", //This is the path variable
"rollingInterval": "Day",
"retainedFileCountLimit": 14
}
},