public final class FileBasedErrorLogPublisherCfgDefn extends ManagedObjectDefinition<FileBasedErrorLogPublisherCfgClient,FileBasedErrorLogPublisherCfg>
File Based Error Log Publishers publish error messages to the file system.
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
public static FileBasedErrorLogPublisherCfgDefn getInstance()
public FileBasedErrorLogPublisherCfgClient createClientConfiguration(ManagedObject<? extends FileBasedErrorLogPublisherCfgClient> impl)
createClientConfiguration
in class ManagedObjectDefinition<FileBasedErrorLogPublisherCfgClient,FileBasedErrorLogPublisherCfg>
impl
- The managed object.public FileBasedErrorLogPublisherCfg createServerConfiguration(ServerManagedObject<? extends FileBasedErrorLogPublisherCfg> impl)
createServerConfiguration
in class ManagedObjectDefinition<FileBasedErrorLogPublisherCfgClient,FileBasedErrorLogPublisherCfg>
impl
- The server managed object.public Class<FileBasedErrorLogPublisherCfg> getServerConfigurationClass()
getServerConfigurationClass
in class ManagedObjectDefinition<FileBasedErrorLogPublisherCfgClient,FileBasedErrorLogPublisherCfg>
public BooleanPropertyDefinition getAppendPropertyDefinition()
Specifies whether to append to existing log files.
public BooleanPropertyDefinition getAsynchronousPropertyDefinition()
Indicates whether the File Based Error Log Publisher will publish records asynchronously.
public BooleanPropertyDefinition getAutoFlushPropertyDefinition()
Specifies whether to flush the writer after every log record.
If the asynchronous writes option is used, the writer will be flushed after all the log records in the queue are written.
public SizePropertyDefinition getBufferSizePropertyDefinition()
Specifies the log file buffer size.
public EnumPropertyDefinition<ErrorLogPublisherCfgDefn.DefaultSeverity> getDefaultSeverityPropertyDefinition()
Specifies the default severity levels for the logger.
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Indicates whether the File Based Error Log Publisher is enabled for use.
public ClassPropertyDefinition getJavaClassPropertyDefinition()
The fully-qualified name of the Java class that provides the File Based Error Log Publisher implementation.
public StringPropertyDefinition getLogFilePropertyDefinition()
The file name to use for the log files generated by the File Based Error Log Publisher .
The path to the file is relative to the server root.
public StringPropertyDefinition getLogFilePermissionsPropertyDefinition()
The UNIX permissions of the log files created by this File Based Error Log Publisher .
public StringPropertyDefinition getOverrideSeverityPropertyDefinition()
Specifies the override severity levels for the logger based on the category of the messages.
Each override severity level should include the category and the severity levels to log for that category, for example, core=error,info,warning. Valid categories are: core, extensions, protocol, config, log, util, schema, plugin, jeb, backend, tools, task, access-control, admin, sync, version, quicksetup, admin-tool, dsconfig, user-defined. Valid severities are: all, error, info, warning, notice, debug.
public IntegerPropertyDefinition getQueueSizePropertyDefinition()
The maximum number of log records that can be stored in the asynchronous queue.
public AggregationPropertyDefinition<LogRetentionPolicyCfgClient,LogRetentionPolicyCfg> getRetentionPolicyPropertyDefinition()
The retention policy to use for the File Based Error Log Publisher .
When multiple policies are used, log files will be cleaned when any of the policy's conditions are met.
public AggregationPropertyDefinition<LogRotationPolicyCfgClient,LogRotationPolicyCfg> getRotationPolicyPropertyDefinition()
The rotation policy to use for the File Based Error Log Publisher .
When multiple policies are used, rotation will occur if any policy's conditions are met.
public DurationPropertyDefinition getTimeIntervalPropertyDefinition()
Specifies the interval at which to check whether the log files need to be rotated.
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.