Move log function.