adding real time logging for instruments.