hide dirty logging parts