Clean up in logger