From: John Spray Date: Thu, 15 Jun 2017 18:58:45 +0000 (-0400) Subject: mgr/dashboard: split out audit log messages in UI X-Git-Tag: v12.1.0~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15709%2Fhead;p=ceph.git mgr/dashboard: split out audit log messages in UI Signed-off-by: John Spray --- diff --git a/src/pybind/mgr/dashboard/health.html b/src/pybind/mgr/dashboard/health.html index 9e1b288895b5..e41a1e2da5e2 100644 --- a/src/pybind/mgr/dashboard/health.html +++ b/src/pybind/mgr/dashboard/health.html @@ -175,17 +175,39 @@
Cluster log
-
- - - { line.stamp } {line.priority}  - - - { line.message } -
+
+ +
+
+ + + { line.stamp } {line.priority}  + + + { line.message } +
+
+
+
+
+
+ + + { line.stamp } {line.priority}  + + + { line.message } +
+
+
- - + +
+
+
@@ -209,4 +231,4 @@ -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/pybind/mgr/dashboard/module.py b/src/pybind/mgr/dashboard/module.py index ac4cf23850f4..fedf19a6ea7e 100644 --- a/src/pybind/mgr/dashboard/module.py +++ b/src/pybind/mgr/dashboard/module.py @@ -663,6 +663,7 @@ class Module(MgrModule): MonStatus).data, "osd_map": osd_map, "clog": list(global_instance().log_buffer), + "audit_log": list(global_instance().audit_buffer), "pools": pools }