So logback uses a configuration framework called Joran. Upon JVM startup it loads the logback.xml file
and shoves the XML into the Joran configurator. (See: https://logback.qos.ch/manual/onJoran.html )
This gist does nothing else but:
- Take the hiccup, which uses the exact same nodes/attributes as the XML file
- Generate XML from it
- Shove the entire thing into Joran.