Cas

Add a new appender

Add a new appender to the system, either a console appender or a file appender. Some parameters are specific to the file appender and, although marked as required, are not required for the console appender.

put/cas/appenders/{appenderName}

Request

  • Base URL: http://mock-cas.apifirst.unx.sas.com/cas
  • URL: http://mock-cas.apifirst.unx.sas.com/cas/cas/appenders/{appenderName}
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (implicit, authorization URL https://site-specific-url)

Query parameters

type'file' | 'console' required

The type of appender being added, either "file" or "console".

flushboolean required

Immediately flushes output instead of buffering.

appendboolean required

When type=="file", causes the appender to append to existing content in the file instead of truncating it.

pathstring required

When type=="file", the path where the file will reside.

namePrefixstring required

When type == "file", prefix used for filenames of log files. Helpful when using routing several groups of loggers to different appenders.

Request body

type'file' | 'console' required

The type of appender being added, either "file" or "console".

flushboolean required

Immediately flushes output instead of buffering.

appendboolean required

When type=="file", causes the appender to append to existing content in the file instead of truncating it.

pathstring required

When type=="file", the path where the file will reside.

namePrefixstring required

When type == "file", prefix used for filenames of log files. Helpful when using routing several groups of loggers to different appenders.

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.