pid of session added to logs