Remove uses of log