Module org.glassfish.main.jul
Package org.glassfish.main.jul.handler
Enum Class SyslogHandlerProperty
- All Implemented Interfaces:
Serializable,Comparable<SyslogHandlerProperty>,Constable,LogProperty
Configuration property set of this handler.
- Author:
- David Matejcek
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLogRecord buffer size.LogRecord buffer timeout for adding new records if the buffer is full.False means that handler will stay in logging structure, but will ignore incoming recordsCharsetClass of theFormatterused with this handlerSyslog host name or ip addressMinimal acceptable level of the incoming log recordSyslog port; on current systems usually disabled by default. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyslogHandlerPropertyReturns the enum constant of this class with the specified name.static SyslogHandlerProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.glassfish.main.jul.cfg.LogProperty
getPropertyFullName, getPropertyFullName
-
Enum Constant Details
-
ENABLED
False means that handler will stay in logging structure, but will ignore incoming records -
LEVEL
Minimal acceptable level of the incoming log record -
HOST
Syslog host name or ip address -
PORT
Syslog port; on current systems usually disabled by default. -
ENCODING
Charset -
FORMATTER
Class of theFormatterused with this handler -
BUFFER_CAPACITY
LogRecord buffer size. If the buffer is full and it is not possible to add new record forBUFFER_TIMEOUTseconds, buffer will reset and replace all records with just one severeLogRecordexplaining what happened. -
BUFFER_TIMEOUT
LogRecord buffer timeout for adding new records if the buffer is full. If the buffer is full and it is not possible to add new record for this count of seconds, buffer will reset and replace all records with just one severeLogRecordexplaining what happened.0 means wait forever.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getPropertyName
- Specified by:
getPropertyNamein interfaceLogProperty- Returns:
- a name of the property, used as a last part of property name in logging.properties
-
getPropertyFullName
- Returns:
- full name using the
SyslogHandlerclass.
-