update logcategories and remove useless logging