remove comments if log config