Add some logging to directory