use logger to debug decision tree