added logger to kdd.py