Removed calls to deprecated log functions.