瀏覽代碼

use exception log for /alias/options endpoints

Son NK 4 年之前
父節點
當前提交
f56b0cddb2
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      app/api/views/alias_options.py

+ 3 - 3
app/api/views/alias_options.py

@@ -25,7 +25,7 @@ def options():
         existing: array of existing aliases
         existing: array of existing aliases
 
 
     """
     """
-    LOG.warning("/alias/options is obsolete")
+    LOG.exception("/alias/options is obsolete")
     user = g.user
     user = g.user
     hostname = request.args.get("hostname")
     hostname = request.args.get("hostname")
 
 
@@ -104,7 +104,7 @@ def options_v2():
 
 
 
 
     """
     """
-    LOG.warning("/v2/alias/options is obsolete")
+    LOG.exception("/v2/alias/options is obsolete")
 
 
     user = g.user
     user = g.user
     hostname = request.args.get("hostname")
     hostname = request.args.get("hostname")
@@ -184,7 +184,7 @@ def options_v3():
 
 
 
 
     """
     """
-    LOG.warning("/v3/alias/options is obsolete")
+    LOG.exception("/v3/alias/options is obsolete")
     user = g.user
     user = g.user
     hostname = request.args.get("hostname")
     hostname = request.args.get("hostname")