public class RollingFileHandlerConfigurer extends Object
Implementations that extend RollingFileHandler
may wish to extend the call to
RollingFileHandler.configure()
and provide calls to these static setters with user
generated values.
For example, setting the Process ID to some platform dependent implementation.
Constructor and Description |
---|
RollingFileHandlerConfigurer() |
Modifier and Type | Method and Description |
---|---|
static void |
setDateProperty(String date,
boolean override)
Sets the
RollingFileHandler.DATE_PROP property value. |
static void |
setHomedirProperty(String homedir,
boolean override)
Sets the
RollingFileHandler.HOMEDIR_PROP property value. |
static void |
setHostProperty(String host,
boolean override)
Sets the
RollingFileHandler.HOST_PROP property value. |
static void |
setPidProperty(String pid,
boolean override)
Sets the
RollingFileHandler.PID_PROP property value. |
static void |
setServiceProperty(String service,
boolean override)
Sets the
RollingFileHandler.SERVICE_PROP property value. |
public static void setHomedirProperty(String homedir, boolean override)
RollingFileHandler.HOMEDIR_PROP
property value.homedir
- The home directory of this loggeroverride
- If true
will override any setting of this property; If
false
will not override if setting already exists for this property.public static void setHostProperty(String host, boolean override)
RollingFileHandler.HOST_PROP
property value.host
- The host of this VM.override
- If true
will override any setting of this property; If
false
will not override if setting already exists for this property.public static void setPidProperty(String pid, boolean override)
RollingFileHandler.PID_PROP
property value.pid
- The Process ID, usually an integer.public static void setServiceProperty(String service, boolean override)
RollingFileHandler.SERVICE_PROP
property value.service
- The name of the service, e.g. GSM, GSC, GSA, Space.override
- If true
will override any setting of this property; If
false
will not override if setting already exists for this property.public static void setDateProperty(String date, boolean override)
RollingFileHandler.DATE_PROP
property value.date
- The date to be used instead of todays' date.override
- If true
will override any setting of this property; If
false
will not override if setting already exists for this property.Copyright © GigaSpaces.