Remove log function