Dear ladies and sirs.
We use log4net for logging. I am wondering if it is possible to use environment variables when specifying the log level. The motivation is simple - our QA folks will not have to edit the config files, they will just set certain environment variable once. In short:
- We do not want to set the log level in the config file to some constant value, because the same build is run by different teams and different teams have different, but rarely changing logging needs. Right now, after every installation, one has to change the config file to suit the specific team needs.
- I do not want to implement the logic programmatically, if there is a way to avoid it. If not, I think I know how to do it.
Thanks.