private static void dayDirLog() throws Exception{
        Date date = new Date();
        //создание папки дня
        try{
            String myDay = dayDirFormat.format(date);
            File myDayDir = new File(dateDir + "/" +myDay);
            myDayDir.mkdir();
            dayDir = myDayDir.getAbsolutePath();
        }catch(Exception e){
            throw new Exception (e);
        }
    }