- Home
- Resources
- Logger API
PUT /log/allLevel
Set all logging levels
Request Parameters
name |
type |
description |
default |
constraints |
level |
query |
Log level, TRACE, DEBUG, WARN, INFO |
|
int |
Response Body
media type |
data type |
description |
application/json |
object
|
|
PUT /log/appenderLevel
Set appenders level for given class and appender
Sample call: /api/log/setAppenderLevel?className=com.tessel.hdc.hdas.common.DataSourceSingletonFactory&appenderName=debugFile&level=INFO
Request Parameters
name |
type |
description |
default |
constraints |
appenderName |
query |
appenderName e.g. debugFile |
|
|
className |
query |
Class name eg. className=com.tessel.hdc.hdas.common.DataSourceSingletonFactory |
|
|
level |
query |
Log level to be set: TRACE, DEBUG, WARN, INFO (see levelsType) |
|
int |
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /log/appendersLevel
Get appenders level for specific class
Request Parameters
name |
type |
description |
default |
constraints |
className |
query |
Class Name eg. className=com.tessel.hdc.hdas.common.DataSourceSingletonFactory |
|
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /log/effectiveLevel
Get effective logging level for all classes defined
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /log/level
Get logging level
Response Body
media type |
data type |
description |
application/json |
object
|
|
PUT /log/level
Set logging level
Request Parameters
name |
type |
description |
default |
constraints |
className |
query |
class name, eg. name=com.tessel.hdc.hdas.common.DataSourceSingletonFactory |
|
|
level |
query |
Log level, TRACE, DEBUG, WARN, INFO, e.g. ?level=TRACE |
|
int |
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /log/levelsType
Get possible log level types
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /log/rootLevel
Get Root logging Level
Response Body
media type |
data type |
description |
application/json |
object
|
|
PUT /log/rootLevel
Set Root logging Level
Request Parameters
name |
type |
description |
default |
constraints |
level |
query |
Provide log level: TRACE, DEBUG, WARN, INFO e.g. ?level=TRACE |
|
int |
Response Body
media type |
data type |
description |
application/json |
object
|
|