Our landscape contains Dev, QA and Prod Systems and we use SAP netweaver application server for our web applications and log4j for logging.
Now, my question is, how can I dynamically change the default logging level (that's a param in log4j.properties) across different servers?
I want it to be DEBUG in dev, INFO in QA and WARN in PROD.
I don't want to manually edit the log4j.properties file after deployment onto QA and Prod. Also, SAP's server does an auto-deployment onto QA and Prod and so there's less manual intervention and I can't change the props file.