Don't log the callback function, related to issue #2112