Skip to content

Commit 580ad97

Browse files
committed
change bunch of INFO messages to WARNING
1 parent e0ffaa3 commit 580ad97

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/org/opensolaris/opengrok/authorization/AuthorizationFramework.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public void addPlugin(AuthorizationStack stack, IAuthorizationPlugin plugin) {
310310
*/
311311
public void addPlugin(AuthorizationStack stack, IAuthorizationPlugin plugin, AuthControlFlag flag) {
312312
if (stack != null) {
313-
LOGGER.log(Level.INFO, "Plugin class \"{0}\" was not found in configuration."
313+
LOGGER.log(Level.WARNING, "Plugin class \"{0}\" was not found in configuration."
314314
+ " Appending the plugin at the end of the list with flag \"{1}\"",
315315
new Object[]{getClassName(plugin), flag});
316316
addPlugin(stack, new AuthorizationPlugin(flag, getClassName(plugin), plugin));
@@ -364,15 +364,15 @@ public IAuthorizationPlugin handleLoadClass(String classname) {
364364
try {
365365
return loadClass(classname);
366366
} catch (ClassNotFoundException ex) {
367-
LOGGER.log(Level.INFO, String.format("Class \"%s\" was not found: ", classname), ex);
367+
LOGGER.log(Level.WARNING, String.format("Class \"%s\" was not found: ", classname), ex);
368368
} catch (SecurityException ex) {
369-
LOGGER.log(Level.INFO, String.format("Class \"%s\" was found but it is placed in prohibited package: ", classname), ex);
369+
LOGGER.log(Level.WARNING, String.format("Class \"%s\" was found but it is placed in prohibited package: ", classname), ex);
370370
} catch (InstantiationException ex) {
371-
LOGGER.log(Level.INFO, String.format("Class \"%s\" could not be instantiated: ", classname), ex);
371+
LOGGER.log(Level.WARNING, String.format("Class \"%s\" could not be instantiated: ", classname), ex);
372372
} catch (IllegalAccessException ex) {
373-
LOGGER.log(Level.INFO, String.format("Class \"%s\" loader threw an exception: ", classname), ex);
373+
LOGGER.log(Level.WARNING, String.format("Class \"%s\" loader threw an exception: ", classname), ex);
374374
} catch (Throwable ex) {
375-
LOGGER.log(Level.INFO, String.format("Class \"%s\" loader threw an unknown error: ", classname), ex);
375+
LOGGER.log(Level.WARNING, String.format("Class \"%s\" loader threw an unknown error: ", classname), ex);
376376
}
377377
return null;
378378
}

0 commit comments

Comments
 (0)