Added logging to ngat.ims.