logging the profile dir