Accessing appSettings config values from log4net config section

后端 未结 3 416

Does anyone know if it\'s possible to access key/values from the appSettings section of a config file from the log4net config section in the same file (without using code)?<

3条回答
  •  旧时难觅i
    2021-01-02 22:02

    Thanks @wageoghe for your help. In the end, I decided to just add the environment value into the config file again (for simplicity):

    
        
        
        
    
    

提交回复
热议问题