Skip to content

Commit

Permalink
Revert "Temp: add debug logs"
Browse files Browse the repository at this point in the history
This reverts commit c9a1ea1.
  • Loading branch information
yuhan6665 committed Dec 9, 2024
1 parent c9a1ea1 commit 8aac0e8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/router/strategy_leastload.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func (s *LeastLoadStrategy) InjectContext(ctx context.Context) {
s.ctx = ctx
core.RequireFeaturesAsync(s.ctx, func(observatory extension.Observatory) {
s.observer = observatory
errors.LogDebug(s.ctx, "InjectContext ", observatory)
})
}

Expand Down
1 change: 0 additions & 1 deletion core/xray.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ func (s *Instance) RequireFeaturesAsync(callback interface{}) {
go func() {
var finished = false
for i := 0; !finished; i++ {
errors.LogDebug(s.ctx, "RequireFeaturesAsync count ", i)
if i > 1000 {
errors.LogError(s.ctx, "RequireFeaturesAsync failed after count ", i)
break;
Expand Down
2 changes: 0 additions & 2 deletions infra/conf/xray.go
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ func (c *Config) Build() (*core.Config, error) {
return nil, err
}
config.App = append(config.App, serial.ToTypedMessage(r))
errors.LogDebug(context.Background(), "Append Observatory!")
}

if c.BurstObservatory != nil {
Expand All @@ -585,7 +584,6 @@ func (c *Config) Build() (*core.Config, error) {
return nil, err
}
config.App = append(config.App, serial.ToTypedMessage(r))
errors.LogDebug(context.Background(), "Append BurstObservatory!")
}

var inbounds []InboundDetourConfig
Expand Down

0 comments on commit 8aac0e8

Please sign in to comment.