Modified ReteooStatefulSession to include logging information