I am deploying a windows service with 2 instances on the same server, the config for the staging release has a service.exe.staging.config and inside it has an NLog entry which points to a logs folder which is say c:\logs.
What I need to be able to do is deploy the service and then change the log directory on both instances, eg c:\logs\instance1\ and c:\logs\instance2 - so that the logs for one service done write to the same folder as the second service.
Is there a better way than deploying and then hand crafting this change via powershell editng the config?