fixes #2
added clean_up support to logger factory