Add logs.
Fix log comments.