Added log handler