Fix log warnings