Explorar o código

use exception log for /alias/options endpoints

Son NK %!s(int64=4) %!d(string=hai) anos
pai
achega
f56b0cddb2
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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")