I have this logback.xml file:
If you're using Eclipse you have to restart it to pick up environment variables, but you can't use: File -> Restart
Instead you actually have to fully shut it down and then start it back up again.