Module org.glassfish.main.jul
Package org.glassfish.main.jul.cfg
Enum Class GlassFishLogManagerProperty
- All Implemented Interfaces:
Serializable,Comparable<GlassFishLogManagerProperty>,java.lang.constant.Constable,LogProperty
public enum GlassFishLogManagerProperty
extends Enum<GlassFishLogManagerProperty>
implements LogProperty
Properties used directly by the
GlassFishLogManager- 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 ConstantDescriptionProperty key for a boolean value enabling forgetting log record parameters right after the message is resolved.Property key for a boolean value enabling log record level resolution even when the logging is configured just partially.Property key for a list of root handler implementationsProperty key for a level of system root logger.Property key for a level of user root logger. -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyFullName(Class<?> bussinessObjectClass) Deprecated.static GlassFishLogManagerPropertyReturns the enum constant of this class with the specified name.static GlassFishLogManagerProperty[]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
-
Enum Constant Details
-
KEY_ROOT_HANDLERS
Property key for a list of root handler implementations -
KEY_USR_ROOT_LOGGER_LEVEL
Property key for a level of user root logger. User root loggers children can have own level. -
KEY_SYS_ROOT_LOGGER_LEVEL
Property key for a level of system root logger. System root loggers children are not configurable. -
KEY_RELEASE_PARAMETERS_EARLY
Property key for a boolean value enabling forgetting log record parameters right after the message is resolved. If false, parameters are set in the log record until the record is processed by a formatter which can still use them. However they can change their internal state while the record was waiting for processing in some of buffers.Releasing them when they are not used may help performance (depends on type of the load).
-
KEY_RESOLVE_LEVEL_WITH_INCOMPLETE_CONFIGURATION
Property key for a boolean value enabling log record level resolution even when the logging is configured just partially. It can save some time and memory, on the other hand some verbose log records not passing currently set log levels will be lost (as in all releases before GlassFish 7)
-
-
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
Deprecated.usegetPropertyName(), this enum cannot relativize to a class.Description copied from interface:LogPropertyConcatenates theClass.getName()with a dot andLogProperty.getPropertyName()- Specified by:
getPropertyFullNamein interfaceLogProperty- Returns:
- the same as
getPropertyName()
-
getPropertyName(), this enum cannot relativize to a class.