Use correct log method