rm potential stackoverflow in logger