arguments = new SOSArguments(args, true);
operation = arguments.as_string("-operation=", "");
settingsFile = arguments.as_string("-settings=", "");
settingsSection = arguments.as_string("-profile=", "");
logLevel = arguments.as_int("-verbose=", SOSLogger.INFO);
logFile = arguments.as_string("-log_filename=", "");
}
catch (Exception e) {
e.printStackTrace(System.err);
System.err.println("[ERROR] could not init SOSArguments, cause: " + e.getMessage());
throw e;