added logger for directory implementation