Skip to content

Commit 91e4d72

Browse files
committed
Portal: Hide severity levels that are currently not used for audit logs
Signed-off-by: Michael Mayer <[email protected]>
1 parent e1b51bb commit 91e4d72

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

frontend/src/model/logs.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ function splitSegments(message) {
3838
.filter((part) => part.length > 0);
3939
}
4040

41+
// Audit logs only exist with the following levels:
42+
// error, warning, info, and debug.
4143
export const AuditSeverityNames = Object.freeze([
42-
"emergency",
44+
/* "emergency",
4345
"alert",
44-
"critical",
46+
"critical", */
4547
"error",
4648
"warning",
47-
"notice",
49+
/* "notice", */
4850
"info",
4951
"debug",
5052
]);

0 commit comments

Comments
 (0)