configure: add log function.