trying another approach to find out where logs dir disappears.