configure logback based on ~/.m2/logback.xml, and detect when debug mode is enabled in maven (and reflect it in logback as well)