Fix logging during non-sessions