mkdir for creating dirs when not exist
change log to default dir + checkCreateDir