Fixed bug.
Updated log format.