Set specific logback.xml file with -Dlogback.configurationFile when logback.xml is just in .war package
I have one logback.xml file and I want to split it per environment e.g dev, prod.
I have found: How to use multiple configurations with logback in a single project?
Add job id to each log message slf4j logback
This is a big web server that uses Logback for logging.
I want to add an identifier for each web request (e.g., job id) and log messages with this job id according to the request that created it.