Ver Fonte

use exception log for /alias/options endpoints

Son NK há 4 anos atrás
pai
commit
f56b0cddb2
1 ficheiros alterados com 3 adições e 3 exclusões
  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")