@Override
	public void run() {
		CountDownLatch latch = new CountDownLatch(1);
		while(autoLog) {
			try {
				latch.await(logInterval, TimeUnit.SECONDS);
				saveLogs();
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}