Added some log comments.