public void run() {
        try {
            writeRouteLog(msgEvent, msg);
            Logger.getLogger(WriteLog.class.getName()).log(Level.SEVERE, "Записано " + WriteLog.getCurrentTime());
        } catch (IOException ex) {
            Logger.getLogger(WriteLog.class.getName()).log(Level.SEVERE, null, ex);
        }
    }