Adding Log, Correcting Problem with date formet