Added real-time logging of packing and unpacking