public interface FileBasedDebugLogPublisherCfgClient extends DebugLogPublisherCfgClient
File Based Debug Log Publishers publish debug messages to the file system.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends FileBasedDebugLogPublisherCfgClient,? extends FileBasedDebugLogPublisherCfg> |
definition()
Get the configuration definition associated with this File Based Debug Log Publisher.
|
long |
getBufferSize()
Gets the "buffer-size" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getLogFile()
Gets the "log-file" property.
|
String |
getLogFilePermissions()
Gets the "log-file-permissions" property.
|
int |
getQueueSize()
Gets the "queue-size" property.
|
SortedSet<String> |
getRetentionPolicy()
Gets the "retention-policy" property.
|
SortedSet<String> |
getRotationPolicy()
Gets the "rotation-policy" property.
|
long |
getTimeInterval()
Gets the "time-interval" property.
|
boolean |
isAppend()
Gets the "append" property.
|
boolean |
isAsynchronous()
Gets the "asynchronous" property.
|
boolean |
isAutoFlush()
Gets the "auto-flush" property.
|
void |
setAppend(Boolean value)
Sets the "append" property.
|
void |
setAsynchronous(boolean value)
Sets the "asynchronous" property.
|
void |
setAutoFlush(Boolean value)
Sets the "auto-flush" property.
|
void |
setBufferSize(Long value)
Sets the "buffer-size" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setLogFile(String value)
Sets the "log-file" property.
|
void |
setLogFilePermissions(String value)
Sets the "log-file-permissions" property.
|
void |
setQueueSize(Integer value)
Sets the "queue-size" property.
|
void |
setRetentionPolicy(Collection<String> values)
Sets the "retention-policy" property.
|
void |
setRotationPolicy(Collection<String> values)
Sets the "rotation-policy" property.
|
void |
setTimeInterval(Long value)
Sets the "time-interval" property.
|
createDebugTarget, getDebugTarget, getDefaultThrowableStackFrames, isDefaultDebugExceptionsOnly, isDefaultIncludeThrowableCause, isDefaultOmitMethodEntryArguments, isDefaultOmitMethodReturnValue, listDebugTargets, removeDebugTarget, setDefaultDebugExceptionsOnly, setDefaultIncludeThrowableCause, setDefaultOmitMethodEntryArguments, setDefaultOmitMethodReturnValue, setDefaultThrowableStackFrames
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends FileBasedDebugLogPublisherCfgClient,? extends FileBasedDebugLogPublisherCfg> definition()
definition
in interface ConfigurationClient
definition
in interface DebugLogPublisherCfgClient
definition
in interface LogPublisherCfgClient
boolean isAppend()
Specifies whether to append to existing log files.
void setAppend(Boolean value) throws PropertyException
Specifies whether to append to existing log files.
value
- The value of the "append" property.PropertyException
- If the new value is invalid.boolean isAsynchronous()
Indicates whether the File Based Debug Log Publisher will publish records asynchronously.
void setAsynchronous(boolean value) throws PropertyException
Indicates whether the File Based Debug Log Publisher will publish records asynchronously.
value
- The value of the "asynchronous" property.PropertyException
- If the new value is invalid.boolean isAutoFlush()
Specifies whether to flush the writer after every log record.
If the asynchronous writes option is used, the writer is flushed after all the log records in the queue are written.
void setAutoFlush(Boolean value) throws PropertyException
Specifies whether to flush the writer after every log record.
If the asynchronous writes option is used, the writer is flushed after all the log records in the queue are written.
value
- The value of the "auto-flush" property.PropertyException
- If the new value is invalid.long getBufferSize()
Specifies the log file buffer size.
void setBufferSize(Long value) throws PropertyException
Specifies the log file buffer size.
value
- The value of the "buffer-size" property.PropertyException
- If the new value is invalid.String getJavaClass()
The fully-qualified name of the Java class that provides the File Based Debug Log Publisher implementation.
getJavaClass
in interface DebugLogPublisherCfgClient
getJavaClass
in interface LogPublisherCfgClient
void setJavaClass(String value) throws PropertyException
The fully-qualified name of the Java class that provides the File Based Debug Log Publisher implementation.
setJavaClass
in interface DebugLogPublisherCfgClient
setJavaClass
in interface LogPublisherCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.String getLogFile()
The file name to use for the log files generated by the File Based Debug Log Publisher .
The path to the file is relative to the server root.
void setLogFile(String value) throws PropertyException
The file name to use for the log files generated by the File Based Debug Log Publisher .
The path to the file is relative to the server root.
value
- The value of the "log-file" property.PropertyException
- If the new value is invalid.String getLogFilePermissions()
The UNIX permissions of the log files created by this File Based Debug Log Publisher .
void setLogFilePermissions(String value) throws PropertyException
The UNIX permissions of the log files created by this File Based Debug Log Publisher .
value
- The value of the "log-file-permissions" property.PropertyException
- If the new value is invalid.int getQueueSize()
The maximum number of log records that can be stored in the asynchronous queue.
void setQueueSize(Integer value) throws PropertyException
The maximum number of log records that can be stored in the asynchronous queue.
value
- The value of the "queue-size" property.PropertyException
- If the new value is invalid.SortedSet<String> getRetentionPolicy()
The retention policy to use for the File Based Debug Log Publisher .
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
void setRetentionPolicy(Collection<String> values) throws PropertyException
The retention policy to use for the File Based Debug Log Publisher .
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
values
- The values of the "retention-policy" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getRotationPolicy()
The rotation policy to use for the File Based Debug Log Publisher .
When multiple policies are used, rotation will occur if any policy's conditions are met.
void setRotationPolicy(Collection<String> values) throws PropertyException
The rotation policy to use for the File Based Debug Log Publisher .
When multiple policies are used, rotation will occur if any policy's conditions are met.
values
- The values of the "rotation-policy" property.PropertyException
- If one or more of the new values are invalid.long getTimeInterval()
Specifies the interval at which to check whether the log files need to be rotated.
void setTimeInterval(Long value) throws PropertyException
Specifies the interval at which to check whether the log files need to be rotated.
value
- The value of the "time-interval" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.