print cache type debug, change indentation, remove memory trace