rm logger for clean up.