Is it possible to use a machine.config setting inside the Nlog.config?
Example
<nlog>
...
<target name="database" xsi:type="Database"
keepConnection="true" dbDatabase="xxx"
dbHost="**MACHINE_CONFIG_SETTING**"
commandType="StoredProcedure" dbProvider="System.Data.SqlClient" dbUserName="**MACHINE_CONFIG_SETTING**"
dbPassword="**MACHINE_CONFIG_SETTING**"
connectionString="**MACHINE_CONFIG_SETTING**"
commandText="stored_proc">
</nlog>
We have the dbhost name and dbUsername in the machine config so I don't really want to duplicate that information in the Nlog config. I don't want to put the whole of the Nlog configuration in the machine config if I can help it.
Any help would be very much appreciated.