Add log messages to track lost messages