// prevent tons of needless WARN messages from the framework
// logger.setLogLevel(logLevel);
logger.setLogLevel(Logger.LOG_ERROR);
try {
ResourceProvider resProvider = new ClassLoaderResourceProvider(
Main.class.getClassLoader());
Sling sling = new Sling(logger, resProvider, props) {
protected void loadPropertiesOverride(
Map<String, String> properties) {
if (commandLine != null) {