Retain the first directory level in logging.