Cas

Add a new logger to the logging system

Adds a new logger to the logging system using the specified level and appender. Can only be performed by a CAS Administrator. The appender associated with the logger must have already been created.

post/cas/loggers/{loggerName}

Request

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

Query parameters

appenderstring

Name of one or more appenders to use to write log messages, separated by commas or as an array when using JSON.

level'null' | 'all' | 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal' | 'off' required

New logging level to be used for the logger, one of "null", "all", "trace", "debug", "info", "warn", "error", "fatal", "off".

Response

Created

Changes

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