Module org.glassfish.main.jul
Package org.glassfish.main.jul.handler
Enum Class GlassFishLogHandlerProperty
java.lang.Object
java.lang.Enum<GlassFishLogHandlerProperty>
org.glassfish.main.jul.handler.GlassFishLogHandlerProperty
- All Implemented Interfaces:
Serializable,Comparable<GlassFishLogHandlerProperty>,java.lang.constant.Constable,LogProperty
public enum GlassFishLogHandlerProperty
extends Enum<GlassFishLogHandlerProperty>
implements LogProperty
Configuration property set of this handler.
-
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 recordsCharsetCount of records processed until handler flushes the outputClass of theFormatterused with this handlerMinimal acceptable level of the incoming log recordAbsolute path to the output fileLog STDOUT and STDERR to the log file tooCompress rolled file to a zio fileFile containing more megabytes (1 000 000 B) will be rotatedFile will be rotated after given count of minutesMaximal count of archived filesFile will be rotated after mignight -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic GlassFishLogHandlerPropertyReturns the enum constant of this class with the specified name.static GlassFishLogHandlerProperty[]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 -
OUTPUT_FILE
Absolute path to the output file -
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.
-
FLUSH_FREQUENCY
Count of records processed until handler flushes the output -
REDIRECT_STANDARD_STREAMS
Log STDOUT and STDERR to the log file too -
ROTATION_COMPRESS
Compress rolled file to a zio file -
ROTATION_ON_DATE_CHANGE
File will be rotated after mignight -
ROTATION_LIMIT_SIZE
File containing more megabytes (1 000 000 B) will be rotated -
ROTATION_LIMIT_TIME
File will be rotated after given count of minutes -
ROTATION_MAX_HISTORY
Maximal count of archived files
-
-
Field Details
-
MINIMUM_ROTATION_LIMIT_MB
public static final int MINIMUM_ROTATION_LIMIT_MB- See Also:
-
DEFAULT_ROTATION_LIMIT_MB
public static final int DEFAULT_ROTATION_LIMIT_MB- See Also:
-
DEFAULT_BUFFER_CAPACITY
public static final int DEFAULT_BUFFER_CAPACITY- See Also:
-
DEFAULT_BUFFER_TIMEOUT
public static final int DEFAULT_BUFFER_TIMEOUT- See Also:
-
-
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
GlassFishLogHandlerclass.
-