diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-10-07 10:48:05 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-10-07 10:48:05 +0200 |
commit | 27377cc2cc94aab30700a380f40b3035d14e5535 (patch) | |
tree | ab50dd1223eb43b7ee7dcc6f1271be988b8f9ea0 /server/sonar-web/src/main/js/api/system.js | |
parent | d999545733b0f53d9a726c5c83256cc8e881dd83 (diff) | |
download | sonarqube-27377cc2cc94aab30700a380f40b3035d14e5535.tar.gz sonarqube-27377cc2cc94aab30700a380f40b3035d14e5535.zip |
SONAR-6830 make it possible to change server log level from UI
Diffstat (limited to 'server/sonar-web/src/main/js/api/system.js')
-rw-r--r-- | server/sonar-web/src/main/js/api/system.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/api/system.js b/server/sonar-web/src/main/js/api/system.js new file mode 100644 index 00000000000..59ef364d9ee --- /dev/null +++ b/server/sonar-web/src/main/js/api/system.js @@ -0,0 +1,6 @@ +import $ from 'jquery'; + +export function setLogLevel (level) { + let url = baseUrl + '/api/system/change_log_level'; + return $.post(url, { level }); +} |