mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-23 07:00:25 +08:00
修改一处日志级别
This commit is contained in:
@@ -61,7 +61,7 @@ func (this *Manager) UpdatePolicies(newPolicies []*serverconfigs.HTTPCachePolicy
|
|||||||
// 停止旧有的
|
// 停止旧有的
|
||||||
for _, oldPolicy := range this.policyMap {
|
for _, oldPolicy := range this.policyMap {
|
||||||
if !lists.ContainsInt64(newPolicyIds, oldPolicy.Id) {
|
if !lists.ContainsInt64(newPolicyIds, oldPolicy.Id) {
|
||||||
remotelogs.Error("CACHE", "remove policy "+strconv.FormatInt(oldPolicy.Id, 10))
|
remotelogs.Println("CACHE", "remove policy "+strconv.FormatInt(oldPolicy.Id, 10))
|
||||||
delete(this.policyMap, oldPolicy.Id)
|
delete(this.policyMap, oldPolicy.Id)
|
||||||
storage, ok := this.storageMap[oldPolicy.Id]
|
storage, ok := this.storageMap[oldPolicy.Id]
|
||||||
if ok {
|
if ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user