Browse Source

use exception log for /alias/options endpoints

Son NK 4 years ago
parent
commit
f56b0cddb2
1 changed files with 3 additions and 3 deletions
  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
 
     """
-    LOG.warning("/alias/options is obsolete")
+    LOG.exception("/alias/options is obsolete")
     user = g.user
     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
     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
     hostname = request.args.get("hostname")