Add failing test for logging after setting severity to :warn
Fix logging after setting severity to :warn