String log4jconf = commandLine.getOptionValue(LOG4J_CONF);
if ((log4jconf != null)&&(log4jconf.length() > 0)) {
PropertyConfigurator.configure(log4jconf);
Logger sentryLogger = LoggerFactory.getLogger(SentryMain.class);
sentryLogger.info("Configuring log4j to use [" + log4jconf + "]");
}
//Print sentry help only if commandName was not given,
// otherwise we assume the help is for the sub command