KAA-280: Add more logs to Kaa C implementation