Add a new logger to the logging system

post/cas/loggers/{loggerName}
Internal-Use Only

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.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
loggerName
string
true

Name of logger. Use "_ROOT_" to specify the root logger.

Query Parameters

NameTypeRequiredDescription
appender
string
false

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

level
string
true

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

Allowed values:
nullalltracedebuginfowarnerrorfataloff

Responses

StatusMeaningDescription
201CreatedCreated