Skip to content

Commit

Permalink
Merge pull request #927 from ssurenr/remove-as3-dec
Browse files Browse the repository at this point in the history
Remove AS3 Template and Declaration Logging

Signed-off-by: Surendhar <[email protected]>
  • Loading branch information
ssurenr committed May 29, 2019
1 parent 3d417e7 commit 9615059
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion pkg/appmanager/appManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,6 @@ func (appMgr *Manager) processNextVirtualServer() bool {

appMgr.vsQueue.Done(key)
log.Debugf("[as3_log] Processing AS3 cfgMap (%s) with AS3 Manager.\n", k.As3Name)
log.Debugf("[as3_log] AS3 ConfigMap Data: %s\n", k.As3Data)
appMgr.processUserDefinedAS3(k.As3Data)

appMgr.vsQueue.Forget(key)
Expand Down
5 changes: 1 addition & 4 deletions pkg/appmanager/as3Manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ func (appMgr *Manager) processUserDefinedAS3(template string) bool {
epbuffer = make(map[string]struct{}, 0)

declaration := appMgr.buildAS3Declaration(obj, templateObj)
log.Debugf("Generated AS3 Declaration: \n%v", declaration)

appMgr.as3Members = buffer
appMgr.watchedAS3Endpoints = epbuffer
Expand Down Expand Up @@ -305,7 +304,7 @@ func (appMgr *Manager) getEndpointsForPool(tenant tenantName, app appName, pool
}
}

log.Debugf("[as3] Discovered members for service %v is %v", service, members)
log.Debugf("[as3] Discovered members for service %v is %v", service.Name, members)
}

return members
Expand Down Expand Up @@ -380,8 +379,6 @@ func (appMgr *Manager) buildAS3Declaration(obj as3Object, template as3Template)
log.Errorf("[as3_log] Issue marshalling AS3 Json")
}
log.Debugf("[as3_log] AS3 Template is populated with the pool members")
log.Debugf("[as3_log] Printing AS3 Template ...")
log.Debugf("%s", declaration)

return as3Declaration(declaration)

Expand Down

0 comments on commit 9615059

Please sign in to comment.