<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log(array, cutoff):
 """ Compute the logarithm of an array with a cutoff on the small values """

    arr = numpy.copy(array)
    arr[arr < cutoff] = cutoff
    return numpy.log(arr)