clear unnecessary logs