|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.services.BaseInitable
org.apache.turbine.services.BaseService
org.apache.turbine.services.TurbineBaseService
org.apache.jetspeed.services.logging.JetspeedLoggingService
This service now only functions as an interim implementation of Turbine's LoggingService. In order to facilitate the new Log4J logging in Jetspeed, the default logging service behavior of Turbine must be overridden. The JetspeedLoggingService now just reroutes to JetspeedLogFactoryService
JetspeedLogFactoryService| Field Summary |
| Fields inherited from class org.apache.turbine.services.BaseService |
configuration, name, properties, serviceBroker |
| Fields inherited from class org.apache.turbine.services.BaseInitable |
initableBroker, isInitialized |
| Fields inherited from interface org.apache.turbine.services.logging.LoggingService |
SERVICE_NAME |
| Constructor Summary | |
JetspeedLoggingService()
|
|
| Method Summary | |
void |
debug(java.lang.String message)
This is a log method with logLevel == DEBUG, printing is done by the default logger |
void |
debug(java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == DEBUG, printing is done by the default logger |
void |
debug(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == DEBUG, printing is done by the default logger |
void |
debug(java.lang.String logName,
java.lang.String message)
This is a log method with logLevel == DEBUG, printing is done by the given logger |
void |
debug(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == DEBUG, printing is done by the given logger |
void |
debug(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == DEBUG, printing is done by the given logger |
void |
debug(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == DEBUG, printing is done by the given logger |
void |
debug(java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == DEBUG, printing is done by the default logger |
void |
error(java.lang.String message)
This is a log method with logLevel == ERROR, printing is done by the default logger |
void |
error(java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == ERROR, printing is done by the default logger |
void |
error(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == ERROR, printing is done by the default logger |
void |
error(java.lang.String logName,
java.lang.String message)
This is a log method with logLevel == ERROR, printing is done by the given logger |
void |
error(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == ERROR, printing is done by the given logger |
void |
error(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == ERROR, printing is done by the given logger |
void |
error(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == ERROR, printing is done by the given logger |
void |
error(java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == ERROR, printing is done by the default logger |
org.apache.turbine.services.logging.Logger |
getLogger()
This method returns default logger for Turbine System |
org.apache.turbine.services.logging.Logger |
getLogger(java.lang.String logName)
This method returns logger with given name. |
org.apache.turbine.services.resources.ResourceService |
getResources()
This gets the ResourceService associated to this Service |
void |
info(java.lang.String message)
This is a log method with logLevel == INFO, printing is done by the default logger |
void |
info(java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == INFO, printing is done by the default logger |
void |
info(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == INFO,printing is done by the default logger |
void |
info(java.lang.String logName,
java.lang.String message)
This is a log method with logLevel == INFO, printing is done by the given logger |
void |
info(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == INFO, printing is done by the given logger |
void |
info(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == INFO, printing is done by the given logger |
void |
info(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == INFO, printing is done by the given logger |
void |
info(java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == INFO, printing is done by the default logger |
void |
init()
Load all configured components and initialize them. |
void |
init(javax.servlet.ServletConfig config)
Inits the service using servlet parameters to obtain path to the configuration file. |
void |
setFormat(java.lang.String format)
This method sets format style of the default logger |
void |
setFormat(java.lang.String logName,
java.lang.String format)
This method sets format style of the given logger. |
void |
setLogLevel(int level)
This method sets the log level of the default logger. |
void |
setLogLevel(java.lang.String logName,
int level)
This method sets the log level of the logger of given name. |
void |
shutdown()
Shutdowns all loggers. |
void |
warn(java.lang.String message)
This is a log method with logLevel == WARN, printing is done by the default logger |
void |
warn(java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == WARN,printing is done by the default logger |
void |
warn(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == WARN, printing is done by the default logger |
void |
warn(java.lang.String logName,
java.lang.String message)
This is a log method with logLevel == WARN, printing is done by the given logger |
void |
warn(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
This is a log method with logLevel == WARN, printing is done by the given logger |
void |
warn(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
This is a log method with logLevel == WARN, printing is done by the given logger |
void |
warn(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == WARN, printing is done by the given logger |
void |
warn(java.lang.String message,
java.lang.Throwable t)
This is a log method with logLevel == WARN, printing is done by the default logger |
| Methods inherited from class org.apache.turbine.services.TurbineBaseService |
init, init |
| Methods inherited from class org.apache.turbine.services.BaseService |
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker |
| Methods inherited from class org.apache.turbine.services.BaseInitable |
getInit, getInitableBroker, setInit, setInitableBroker |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
| Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, setInitableBroker |
| Constructor Detail |
public JetspeedLoggingService()
| Method Detail |
public void init()
throws org.apache.turbine.services.InitializationException
init in interface org.apache.turbine.services.Initableorg.apache.turbine.services.InitializationException - Something went wrong in the init
stage
public void init(javax.servlet.ServletConfig config)
throws org.apache.turbine.services.InitializationException
config - The ServletConfiguration from Turbine
org.apache.turbine.services.InitializationException - Something went wrong when starting up.public org.apache.turbine.services.resources.ResourceService getResources()
public void shutdown()
shutdown in interface org.apache.turbine.services.Initablepublic final org.apache.turbine.services.logging.Logger getLogger()
getLogger in interface org.apache.turbine.services.logging.LoggingServicepublic org.apache.turbine.services.logging.Logger getLogger(java.lang.String logName)
getLogger in interface org.apache.turbine.services.logging.LoggingServicepublic void setLogLevel(int level)
setLogLevel in interface org.apache.turbine.services.logging.LoggingService
public void setLogLevel(java.lang.String logName,
int level)
setLogLevel in interface org.apache.turbine.services.logging.LoggingServicepublic void setFormat(java.lang.String format)
setFormat in interface org.apache.turbine.services.logging.LoggingService
public void setFormat(java.lang.String logName,
java.lang.String format)
setFormat in interface org.apache.turbine.services.logging.LoggingServicepublic void debug(java.lang.String message)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String message,
java.lang.Throwable t)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String logName,
java.lang.String message)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String message,
org.apache.turbine.util.RunData data)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
debug in interface org.apache.turbine.services.logging.LoggingService
public void debug(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
debug in interface org.apache.turbine.services.logging.LoggingServicepublic void info(java.lang.String message)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String message,
java.lang.Throwable t)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String logName,
java.lang.String message)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String message,
org.apache.turbine.util.RunData data)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
info in interface org.apache.turbine.services.logging.LoggingService
public void info(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
info in interface org.apache.turbine.services.logging.LoggingServicepublic void warn(java.lang.String message)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String message,
java.lang.Throwable t)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String logName,
java.lang.String message)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String message,
org.apache.turbine.util.RunData data)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
warn in interface org.apache.turbine.services.logging.LoggingService
public void warn(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
warn in interface org.apache.turbine.services.logging.LoggingServicepublic void error(java.lang.String message)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String message,
java.lang.Throwable t)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String logName,
java.lang.String message)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String logName,
java.lang.String message,
java.lang.Throwable t)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String message,
org.apache.turbine.util.RunData data)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data)
error in interface org.apache.turbine.services.logging.LoggingService
public void error(java.lang.String logName,
java.lang.String message,
org.apache.turbine.util.RunData data,
java.lang.Throwable t)
error in interface org.apache.turbine.services.logging.LoggingService
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||