fix log handler scope and add default severity