Fixing calls to the old log method