manage logging an dprocessing