mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 07:59:57 +00:00
TUN-7126: Add Management logger io.Writer
This commit is contained in:
@@ -401,7 +401,7 @@ func StartServer(
|
||||
|
||||
localRules := []ingress.Rule{}
|
||||
if features.Contains(features.FeatureManagementLogs) {
|
||||
mgmt := management.New(c.String("management-hostname"))
|
||||
mgmt := management.New(c.String("management-hostname"), logger.ManagementLogger.Log, logger.ManagementLogger)
|
||||
localRules = []ingress.Rule{ingress.NewManagementRule(mgmt)}
|
||||
}
|
||||
orchestrator, err := orchestration.NewOrchestrator(ctx, orchestratorConfig, tunnelConfig.Tags, localRules, tunnelConfig.Log)
|
||||
|
Reference in New Issue
Block a user