@@ -310,7 +310,7 @@ public void addPlugin(AuthorizationStack stack, IAuthorizationPlugin plugin) {
310
310
*/
311
311
public void addPlugin (AuthorizationStack stack , IAuthorizationPlugin plugin , AuthControlFlag flag ) {
312
312
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."
314
314
+ " Appending the plugin at the end of the list with flag \" {1}\" " ,
315
315
new Object []{getClassName (plugin ), flag });
316
316
addPlugin (stack , new AuthorizationPlugin (flag , getClassName (plugin ), plugin ));
@@ -364,15 +364,15 @@ public IAuthorizationPlugin handleLoadClass(String classname) {
364
364
try {
365
365
return loadClass (classname );
366
366
} 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 );
368
368
} 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 );
370
370
} 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 );
372
372
} 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 );
374
374
} 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 );
376
376
}
377
377
return null ;
378
378
}
0 commit comments