Skip to content

Commit

Permalink
Enable access logs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
skmatti committed Mar 5, 2020
1 parent 5033b33 commit c7f491f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/backends/backends.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c7f491f

Please sign in to comment.