Why are messages missing from the log? Some messages are not logged and others are?