elsloo closed pull request #2629: Remove debug print from error log
URL: https://github.com/apache/trafficcontrol/pull/2629
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/traffic_ops/traffic_ops_golang/crconfig/handler.go
b/traffic_ops/traffic_ops_golang/crconfig/handler.go
index 646fe1389..2e8d53a8e 100644
--- a/traffic_ops/traffic_ops_golang/crconfig/handler.go
+++ b/traffic_ops/traffic_ops_golang/crconfig/handler.go
@@ -214,8 +214,6 @@ func SnapshotOldGUIHandler(db *sqlx.DB, cfg config.Config)
http.HandlerFunc {
return
}
- log.Errorln("DEBUG calling crconfig.SnapshotOldGUIHandler CDN "
+ cdn)
-
ctx := r.Context()
user, err := auth.GetCurrentUser(ctx)
if err != nil {
diff --git a/traffic_ops/traffic_ops_golang/riaksvc/dsutil.go
b/traffic_ops/traffic_ops_golang/riaksvc/dsutil.go
index c6f36ce5c..42ef54d20 100644
--- a/traffic_ops/traffic_ops_golang/riaksvc/dsutil.go
+++ b/traffic_ops/traffic_ops_golang/riaksvc/dsutil.go
@@ -143,7 +143,6 @@ func Ping(tx *sql.Tx, authOpts *riak.AuthOptions)
(tc.RiakPingResp, error) {
if err != nil {
return tc.RiakPingResp{}, errors.New("getting riak servers: " +
err.Error())
}
- log.Errorf("DEBUG: GetRiakServers got: %+v\n", servers)
for _, server := range servers {
cluster, err := RiakServersToCluster([]ServerAddr{server},
authOpts)
if err != nil {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services