real time logging first step