To be honest, I was not sure where the ~ is coming from in the previous log4j system and it does not come out when using logback so the tests would fail.  in logback formatter config, I could add a ~ but that then adds a ~ to every log line I think.  not sure the best way to go but let me know and I can take another look.  Do you know why log4j adds that ~ anyways?