feat: enable/disable log drain by service

This commit is contained in:
Andras Bacsai committed 2023-11-17 20:08:21 +01:00
1 parent b0c96e64c9
commit 3b20eee909
37 files changed
+270 -24

No files matched your search

+1 -1
View File
@@ -864,7 +864,7 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
]
]
];
if ($this->server->isDrainLogActivated()) {
if ($this->server->isLogDrainEnabled() && $this->application->isLogDrainEnabled()) {
$docker_compose['services'][$this->container_name]['logging'] = [
'driver' => 'fluentd',
'options' => [