fixed log docs and comments args.