If no appender name is specified, RollingFileAppender is used by default. In this way, you need only enable the TraceLoggingEnabled property and set the appropriate fields in TraceFlags to initiate useful trace logging.
Note The error log "filenet_error" (the default) is updated to reference the configured appenders. If the base error log file is not "filenet_error", error log messages are not written to the trace logs.
The supported output destinations (class names) are as follows:
- ConsoleAppender Sends trace logging data to the default console.
- FileAppender Sends trace logging data to the location specified in the OutputLocation property.
- DailyRollingFileAppender A subclass of FileAppender. Backs up (rolls over) the trace logs located in the directory referenced by the OutputLocation property on a scheduled basis. The log4j DatePattern is "yyyy-MM-dd", which initiates the backup operation daily at midnight.
-
RollingFileAppender
A subclass of FileAppender. The default appender used if none is specified. Backs up the trace logs located in
the directory referenced by the OutputLocation property when the files exceed the maximum size.
The default maximum trace log file size is 100MB, and the default backup index file size is 5MB. You can override these default values using the log4j command line properties "MaxRollingFileSize" and "MaxRollingFileBackups".
For more information, see org.apache.log4j.FileAppender.
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Property AppenderNames As String |
C# |
---|
string AppenderNames { get; set; } |
Visual C++ |
---|
property String^ AppenderNames { String^ get (); void set (String^ value); } |
JavaScript |
---|
function get_appenderNames(); function set_appenderNames(value); |
Remarks
Metadata
AllowsDefaultChange: false
Cardinality: SINGLE
CopyToReservation: false
DataType: STRING
IsHidden: false
IsOrderable: false
IsSearchable: false
IsValueRequired: false
MaximumLengthString: null
ModificationAccessRequired: WRITE
PersistenceType: OWN_COLUMN
RequiresUniqueElements: false
Settability: READ_WRITE
TargetAccessRequired: READ