public class XmlFileStoreLoggerImpl extends ComponentImplBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULLOGDIR
The default max number of file of logs
|
static int |
DEFAULTMAXFILESIZE
The default max size of each file of logs
|
static int |
DEFAULTMAXNUMBEROFFILES
The default max number of file of logs
|
static int |
DEFAULTMINLOGLEVEL
The default min log level
|
static java.lang.String |
LOGDIR_PROPNAME
The name of the java property to set the path to save the file of logs
|
static java.lang.String |
MAXFILESIZE_PROPNAME
The name of the java property to set the max size of each file of logs
|
static java.lang.String |
MAXNUMBEROFFILES_PROPNAME
The name of the java property to set the max number of file of logs
|
static java.lang.String |
MINLOGLEVEL_PROPNAME
The name of the java property to set the log level
|
m_containerServices, m_instanceName| Constructor and Description |
|---|
XmlFileStoreLoggerImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Life cycle
|
short |
getArchiveLevel() |
void |
initialize(ContainerServices containerServices)
Life cycle
|
void |
setArchiveLevel(short newLevel) |
aboutToAbort, componentState, execute, namepublic static final java.lang.String MINLOGLEVEL_PROPNAME
public static final int DEFAULTMINLOGLEVEL
public static final java.lang.String MAXFILESIZE_PROPNAME
public static final int DEFAULTMAXFILESIZE
public static final java.lang.String MAXNUMBEROFFILES_PROPNAME
public static final int DEFAULTMAXNUMBEROFFILES
public static final java.lang.String LOGDIR_PROPNAME
public static final java.lang.String DEFAULLOGDIR
public void initialize(ContainerServices containerServices) throws ComponentLifecycleException
initialize in interface ComponentLifecycleinitialize in class ComponentImplBasecontainerServices - callback object for services provided by the containerComponentLifecycleExceptionalma.acs.component.ComponentLifecycle#initialize()public void cleanUp()
throws alma.maciErrType.wrappers.AcsJComponentCleanUpEx
cleanUp in interface ComponentLifecyclecleanUp in class ComponentImplBasealma.maciErrType.wrappers.AcsJComponentCleanUpExComponentLifecycle.cleanUp()public short getArchiveLevel()
public void setArchiveLevel(short newLevel)