Fix log defines.