fixing python log dir