change test log function