public static void main(String[] args) throws IOException, InterruptedException {
		Scanner in = new Scanner(System.in);
		while (true) {
			System.out.println("Please enter configuration file name");
			System.out.print("VectorLogger>: ");
			String configFileName = in.next();
			try {
				ConfigFileParser configParser = new ConfigFileParser(configFileName, null);
				int port = configParser.getLoggerPort();
				startListenerThread(new ServerSocket(port));
				System.out.println("Log server is running at port "+port);
				break;
			} catch (Exception e) {
				System.out.println("Could not load config file. " + e);
			}
		}
		System.out.println("Available commands: print, exit");
		System.out.print("VectorLogger>: ");
		String command;
		while ((command = in.next()) != null) {
			if (command.equals("exit"))
				break;
			else if (command.equals("print"))
				printInformation();
			else
				System.out.println("Available commands: print, exit");
			System.out.print("VectorLogger>: ");
		}
		in.close();
		System.out.println("VectorLogger terminated normally");
		System.exit(0);
	}