set logback config in code, rather than script