adding logg