Fix calls to log interface.