Skip to content

Commit

Permalink
remove fluentd log driver
Browse files Browse the repository at this point in the history
  • Loading branch information
qu0b committed Feb 5, 2024
1 parent b6c8fe5 commit 794af28
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -654,15 +654,15 @@ func createStartServiceOperation(
}
}

if logsCollectorAddress == "" {
return nil, stacktrace.NewError("Expected to have a logs collector server address value to send the user service logs, but it is empty")
}
// if logsCollectorAddress == "" {
// return nil, stacktrace.NewError("Expected to have a logs collector server address value to send the user service logs, but it is empty")
// }

// The container will be configured to send the logs to the Fluentbit logs collector server
fluentdLoggingDriverCnfg := docker_manager.NewFluentdLoggingDriver(
logsCollectorAddress,
logsCollectorLabels,
)
// fluentdLoggingDriverCnfg := docker_manager.NewFluentdLoggingDriver(
// logsCollectorAddress,
// logsCollectorLabels,
// )

createAndStartArgsBuilder := docker_manager.NewCreateAndStartContainerArgsBuilder(
containerImageName,
Expand All @@ -688,8 +688,6 @@ func createStartServiceOperation(
true,
).WithVolumeMounts(
volumeMounts,
).WithLoggingDriver(
fluentdLoggingDriverCnfg,
).WithRestartPolicy(
restartPolicy,
).WithUser(user)
Expand Down

0 comments on commit 794af28

Please sign in to comment.