Improved I/O session logging