Taking out the unnecessary Log messages