-
Notifications
You must be signed in to change notification settings - Fork 9
GoAuth2 ui logging
Ken Williamson edited this page Mar 15, 2020
·
1 revision
GoAuth2-ui has a REST service for setting logging to different levels.
Method: POST
URL: http://localhost:8091/rs/loglevel
Request headers Example:
Content-Type = application/json
Logging_KEY = 45sdbb2345 //Default and can be changed with env variable
Request Body Example:
{
"loglevel": "info"
}
Response:
{
"success": true,
"logLevel": "INFO"
}
Method: POST
URL: http://localhost:8091/rs/loglevel
Request headers Example:
Content-Type = application/json
Logging_KEY = 45sdbb2345 //Default and can be changed with env variable
Request Body Example:
{
"loglevel": "debug"
}
Response:
{
"success": true,
"logLevel": "DEBUG"
}
Method: POST
URL: http://localhost:8091/rs/loglevel
Request headers Example:
Content-Type = application/json
Logging_KEY = 45sdbb2345 //Default and can be changed with env variable
Request Body Example:
{
"loglevel": "all"
}
Response:
{
"success": true,
"logLevel": "ALL"
}
Method: POST
URL: http://localhost:8091/rs/loglevel
Request headers Example:
Content-Type = application/json
Logging_KEY = 45sdbb2345 //Default and can be changed with env variable
Request Body Example:
{
"loglevel": "off"
}
Response:
{
"success": true,
"logLevel": "OFF"
}
GoAuth2 is maintained by Ulbora Labs LLC and others.