Package org.apache.catalina.startup
Class VersionLoggerListener
java.lang.Object
org.apache.catalina.startup.VersionLoggerListener
- All Implemented Interfaces:
LifecycleListener
Logs version information on startup.
This listener must only be nested within Server elements and should be the first listener defined.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringManagerThe string manager for this package. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidlifecycleEvent(LifecycleEvent event) Acknowledge the occurrence of the specified event.voidsetLogArgs(boolean logArgs) voidsetLogEnv(boolean logEnv) voidsetLogProps(boolean logProps)
-
Field Details
-
sm
The string manager for this package.
-
-
Constructor Details
-
VersionLoggerListener
public VersionLoggerListener()
-
-
Method Details
-
getLogArgs
public boolean getLogArgs() -
setLogArgs
public void setLogArgs(boolean logArgs) -
getLogEnv
public boolean getLogEnv() -
setLogEnv
public void setLogEnv(boolean logEnv) -
getLogProps
public boolean getLogProps() -
setLogProps
public void setLogProps(boolean logProps) -
lifecycleEvent
Description copied from interface:LifecycleListenerAcknowledge the occurrence of the specified event.- Specified by:
lifecycleEventin interfaceLifecycleListener- Parameters:
event- LifecycleEvent that has occurred
-