replace minilog with debug - simpler