Some log changes.
Add some log.