Added trim logs