Fix swapped comments.
Fix typo in comment.
First stab at logging for getprop optimization success/failure.

Logs optimization attempts, types and reasons for failure.