[Logging] Only output if there is a glue session.