Add a new logger to the logging system
post/cas/loggers/{loggerName}
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.
Name | Type | Required | Description |
---|---|---|---|
loggerName | string | true | Name of logger. Use "_ROOT_" to specify the root logger. |
Name | Type | Required | Description |
---|---|---|---|
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 |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | Created |