RIFT-14916: Code added but commented out for removing cat severity filter
[osm/UI.git] / skyquake / plugins / logging / routes.js
index af410c2..02b4514 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 
+ *
  *   Copyright 2016 RIFT.IO Inc
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
@@ -64,6 +64,16 @@ var loggingRoutes = [
         endpoint: '/api/config/default-severity',
         apiHandler: loggingAPI['config'].deleteDefaultSeverity
     },
+    {
+        method: 'PUT',
+        endpoint: '/api/config/default-syslog-severity',
+        apiHandler: loggingAPI['config'].setDefaultSyslogSeverity
+    },
+    {
+        method: 'DELETE',
+        endpoint: '/api/config/default-syslog-severity/:nulledCategories',
+        apiHandler: loggingAPI['config'].deleteDefaultSyslogSeverity
+    },
     {
         method: 'PUT',
         endpoint: '/api/config/allow-duplicate-events',