add logger in ImageCom