You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2017/04/10 18:43:34 UTC

[4/6] incubator-trafficcontrol git commit: show UI route revert message for error level logging

show UI route revert message for error level logging


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/96756894
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/96756894
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/96756894

Branch: refs/heads/master
Commit: 96756894d5ab0d8841b30f36f02b5e5f5a035cd1
Parents: 0610280
Author: Derek Gelinas <mr...@gmail.com>
Authored: Fri Mar 31 18:55:21 2017 +0000
Committer: Jeff Elsloo <je...@cable.comcast.com>
Committed: Mon Apr 10 12:42:46 2017 -0600

----------------------------------------------------------------------
 traffic_ops/.vscode/launch.json    | 21 +++++++++++++++++++++
 traffic_ops/bin/traffic_ops_ort.pl |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/96756894/traffic_ops/.vscode/launch.json
----------------------------------------------------------------------
diff --git a/traffic_ops/.vscode/launch.json b/traffic_ops/.vscode/launch.json
new file mode 100644
index 0000000..22ce6df
--- /dev/null
+++ b/traffic_ops/.vscode/launch.json
@@ -0,0 +1,21 @@
+{
+    // Use IntelliSense to learn about possible Node.js debug attributes.
+    // Hover to view descriptions of existing attributes.
+    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+    "version": "0.2.0",
+    "configurations": [
+        {
+            "type": "node",
+            "request": "launch",
+            "name": "Launch Program",
+            "program": "${workspaceRoot}/app.js",
+            "cwd": "${workspaceRoot}"
+        },
+        {
+            "type": "node",
+            "request": "attach",
+            "name": "Attach to Process",
+            "port": 5858
+        }
+    ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/96756894/traffic_ops/bin/traffic_ops_ort.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl
index 61fb84c..a8be0ca 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -1690,7 +1690,7 @@ sub get_cfg_file_list {
 
 	if ($result eq '404') {
 		$api_in_use = 0;
-		( $log_level >> $INFO ) && printf("INFO Traffic Ops version does not support config files API. Reverting to UI route.\n");
+		( $log_level >> $ERROR ) && printf("ERROR Traffic Ops version does not support config files API. Reverting to UI route.\n");
 		$uri = "/ort/$host_name/ort1";
 		$result = &lwp_get($uri);
 	}