One or more log4j class names identifying the output destinations to use for the trace logging data. Multiple appender names are separated by commas. It is expected that the use of multiple names will be to specify a console appender and a file appender. If the class names are specified using package prefixes, the class names are interpreted absolutely; otherwise, the class names are prefixed with "org.apache.log4j" during processing. Validation of appender names occurs when they are persisted, rather than when logging is configured.

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.

Namespace:  FileNet.Api.Admin
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

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);

ToggleRemarks

ToggleSee Also