Added better log handler support with severity