How can we have Octopus substitute for variables with a colon ‘:’ as part of the variable name? Colons are used to indicate config file hierarchy in order to find the value to replace. But I have a scenario where part of the hierarchy has a name that includes a literal colon. How can I substitute for the log file path? See below.
This is what I tried but it didn’t work:
Serilog:WriteTo:Async:Args:configure[0]:Args:path
{
"Serilog": {
"Using": [ "Serilog.Sinks.File" ],
"MinimumLevel": "Debug",
"WriteTo:Async": {
"Name": "Async",
"Args": {
"configure": [
{
"Name": "File",
"Args": {
"path": "C:/Logs/TaskEngine.txt",
"rollingInterval": "Day",
"fileSizeLimitBytes": 5242880,
"retainedFileCountLimit": 50
}
}
]
}
}
}
}