put logs in a right dir