/** * Return the Logger with which this Container is associated. If there is * no associated Logger, return the Logger associated with our parent * Container (if any); otherwise return <code>null</code>. */ public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Return the Logger for this Container. */ @Override public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Return the Logger with which this Container is associated. If there is * no associated Logger, return the Logger associated with our parent * Container (if any); otherwise return <code>null</code>. */ public Logger getLogger() { if (logger != null) return (logger); logger = Logger.getLogger(logName()); return (logger); }
/** * Return the Logger for this Container. */ @Override public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Return the Logger with which this Container is associated. If there is * no associated Logger, return the Logger associated with our parent * Container (if any); otherwise return <code>null</code>. */ public Logger getLogger() { if (logger != null) return (logger); logger = Logger.getLogger(logName()); return (logger); }
/** * Return the Logger for this Container. */ @Override public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Return the Logger for this Container. */ @Override public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Return the Logger for this Container. */ @Override public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Return the Logger for this Container. */ @Override public Log getLogger() { if (logger != null) return (logger); logger = LogFactory.getLog(logName()); return (logger); }
/** * Log the specified message and exception to our current Logger * (if any). * * @param message Message to be logged * @param throwable Related exception */ protected void log(String message, Throwable throwable) { message = neutralizeForLog(message); org.apache.catalina.Logger logger = getLogger(); if (logger != null) logger.log(logName() + ": " + message, throwable); else { log.log(Level.SEVERE, message, throwable); } }
log.log(Level.INFO, LogFacade.CONTAINER_NOT_STARTED_EXCEPTION, logName());
log.log(Level.INFO, LogFacade.CONTAINER_STARTED, logName());
log.info(sm.getString("containerBase.alreadyStarted", logName())); return;
log.info(sm.getString("containerBase.notStarted", logName())); return;
log.info(sm.getString("containerBase.alreadyStarted", logName())); return;
log.info(sm.getString("containerBase.notStarted", logName())); return;
CatalinaLogger.CORE_LOGGER.containerAlreadyStarted(logName()); return;
CatalinaLogger.CORE_LOGGER.containerNotStarted(logName()); return;