From a61be6f4d3b408250b6032be09e85501905c7c6f Mon Sep 17 00:00:00 2001 From: Satish Matti Date: Mon, 10 Feb 2020 09:54:45 -0800 Subject: [PATCH] Enable Access Logs by default --- pkg/backends/backends.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/backends/backends.go b/pkg/backends/backends.go index 454697d026..421790cb64 100644 --- a/pkg/backends/backends.go +++ b/pkg/backends/backends.go @@ -73,6 +73,10 @@ func (b *Backends) Create(sp utils.ServicePort, hcLink string) (*composite.Backe Port: namedPort.Port, PortName: namedPort.Name, HealthChecks: []string{hcLink}, + // LogConfig is using GA API so this is not considered for computing API version. + LogConfig: &composite.BackendServiceLogConfig{ + Enable: true, + }, } if sp.L7ILBEnabled {