fix Logger session management