Added log and config handler