Enable API logging. #857