Enable access logs by default
@@ -80,6 +80,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 {
