Removing redundant log function.