Class LoggerConfig
java.lang.Object
com.netscape.cmscore.base.ConfigStore
com.netscape.cmscore.logging.LoggerConfig
- All Implemented Interfaces:
Cloneable
Provides log.instance..* parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intThe default output stream buffer size in bytesstatic final intThe default output flush interval in secondsstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class ConfigStore
logger, mSource, mStoreName, PROP_SUBSTORES, storage -
Constructor Summary
ConstructorsConstructorDescriptionLoggerConfig(ConfigStorage storage) LoggerConfig(String name, SimpleProperties source) -
Method Summary
Modifier and TypeMethodDescriptionintbooleangetFilename(String defaultFilename) intintgetLevel()booleanbooleanbooleangetTrace()getType()Methods inherited from class ConfigStore
clear, clone, commit, get, getBigInteger, getBigInteger, getBoolean, getBoolean, getByteArray, getByteArray, getFullName, getInteger, getInteger, getName, getProperties, getPropertyNames, getSource, getStorage, getString, getString, getSubStore, getSubStore, getSubStoreNames, keys, load, load, makeSubStore, makeSubStore, printProperties, put, putBigInteger, putBoolean, putByteArray, putInteger, putString, remove, removeSubStore, size, store
-
Field Details
-
TYPE
- See Also:
-
REGISTER
- See Also:
-
ENABLE
- See Also:
-
TRACE
- See Also:
-
LOG_SIGNING
- See Also:
-
CERT_NICKNAME
- See Also:
-
SELECTED_EVENTS
- See Also:
-
MANDATORY_EVENTS
- See Also:
-
FILTERS
- See Also:
-
LEVEL
- See Also:
-
FILE_NAME
- See Also:
-
LAST_HASH_FILE_NAME
- See Also:
-
BUFFER_SIZE
- See Also:
-
FLUSH_INTERVAL
- See Also:
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZEThe default output stream buffer size in bytes- See Also:
-
DEFAULT_FLUSH_INTERVAL
public static final int DEFAULT_FLUSH_INTERVALThe default output flush interval in seconds- See Also:
-
-
Constructor Details
-
LoggerConfig
public LoggerConfig() -
LoggerConfig
-
LoggerConfig
-
-
Method Details
-
getEnable
- Throws:
EBaseException
-
getLogSigning
- Throws:
EBaseException
-
getSignedAuditCertNickname
- Throws:
EBaseException
-
getMandatoryEvents
- Throws:
EBaseException
-
getSelectedEvents
- Throws:
EBaseException
-
getFilters
- Throws:
EBaseException
-
getTrace
- Throws:
EBaseException
-
getType
- Throws:
EBaseException
-
getRegister
- Throws:
EBaseException
-
getLevel
- Throws:
EBaseException
-
getFilename
- Throws:
EBaseException
-
getBufferSize
- Throws:
EBaseException
-
getFlushInterval
- Throws:
EBaseException
-