Fixes references to old logging functions.