If the logger is currently enabled for the SEVERE message level then the given message is forwarded to all the registered output Handler objects.
@param msg The string message (or a key in the message catalog)
740741742743744745746747748749750
} InputStream stream = ectx.getResourceAsStream(systemId); if (stream == null) { log.severe("Faces config resource " + systemId + " not found"); continue; } if (log.isLoggable(Level.INFO)) {
116117118119120121122123124125126
context.getApplication().publishEvent (context, ExceptionQueuedEvent.class, equecontext); Logger log = Logger.getLogger(ResourceImpl.class.getName()); if (log.isLoggable(Level.SEVERE)) { log.severe("Cannot evaluate EL expression " + convertToExpression(expressionList) + " in resource " + (libraryName == null?"":libraryName) + ":" + (resourceName == null?"":resourceName)); } delegate.unread(c3);
10671068106910701071107210731074107510761077
264265266267268269270271272273274
// However, if we exceed the limit, we do not select the last one. // We redo the selection instead. } while (selected >= ScaleFactors.tagCount && loops++ < 10); if (loops >= 10) logger.severe("Exceeded loop limit. Selected:" + selected + " TagCount: " + ScaleFactors.tagCount); // We use the user name mechanism to create the tag names return ++selected; }
174175176177178179180181182183184
ExceptionQueuedEventContext equecontext = new ExceptionQueuedEventContext (context, e, null); context.getApplication().publishEvent (context, ExceptionQueuedEvent.class, equecontext); Logger log = Logger.getLogger(ResourceImpl.class.getName()); if (log.isLoggable(Level.SEVERE)) log.severe("Cannot evaluate EL expression "+convertToExpression(expressionList)+ " in resource " + getLibraryName()+":"+getResourceName()); delegate.unread(c3); for (int i = expressionList.size()-1; i >= 0; i--) { delegate.unread(expressionList.get(i));
195196197198199200201202203204205
} catch (IOException e) { Logger log = Logger.getLogger(CAPTCHAResourceHandlerWrapper.class.getName()); if (log.isLoggable(Level.SEVERE)) log.severe("Error trying to load resource " + resourceName + " with library " + libraryName + " :" + e.getMessage()); httpServletResponse.setStatus(HttpServletResponse.SC_NOT_FOUND); } }
172173174175176177178179180181182
275276277278279280281282283284285
// Bummer, the command had an error. Log and save output failureOccurred = true; failedServerNames.append(iname).append(" "); reportResult.failedServerNames.add(iname); msg = iname + ": " + instanceReport.getMessage(); logger.severe(msg); output.append(msg).append(NL); msg = Strings.get("cluster.command.instancesFailed", command, iname); progress.progress(1, msg); } else { // Command worked. Note that too.
281282283284285286287288289290291
3132333435363738394041
System.out.println("totalMemory = " + runtime.totalMemory()); Logger logger = Logger.getLogger(MemorySettingsTest.class.getName()); logger.severe("maxMemory = " + runtime.maxMemory()); logger.severe("freeMemory = " + runtime.freeMemory()); logger.severe("totalMemory = " + runtime.totalMemory()); }