]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8383 download all log files from sysinfo console
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 16 Nov 2016 14:51:39 +0000 (15:51 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 17 Nov 2016 06:36:51 +0000 (07:36 +0100)
server/sonar-web/src/main/js/apps/system/main.js

index b57a91198a416344ef58d6fa28ea4c276859c614..356095027879a1296f39cf81765d83b5a5b667eb 100644 (file)
@@ -72,7 +72,30 @@ export default React.createClass({
       <header className="page-header">
         <h1 className="page-title">{translate('system_info.page')}</h1>
         <div className="page-actions">
-          <a className="spacer-right" href={window.baseUrl + '/api/system/logs'} id="logs-link">Logs</a>
+          <a
+              className="spacer-right"
+              href={window.baseUrl + '/api/system/logs?process=app'}
+              id="logs-link">
+              App Logs
+          </a>
+          <a
+              className="spacer-right"
+              href={window.baseUrl + '/api/system/logs?process=ce'}
+              id="ce-logs-link">
+              Compute Engine Logs
+          </a>
+          <a
+              className="spacer-right"
+              href={window.baseUrl + '/api/system/logs?process=es'}
+              id="es-logs-link">
+              Elasticsearch Logs
+          </a>
+          <a
+              className="spacer-right"
+              href={window.baseUrl + '/api/system/logs?process=web'}
+              id="web-logs-link">
+              Web Logs
+          </a>
           <a href={window.baseUrl + '/api/system/info'} id="download-link">Download</a>
           <button
               id="restart-server-button"