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

+2 -1
View File
@@ -79,7 +79,8 @@ class StartPostgresql
]
]
];
if ($this->database->destination->server->isDrainLogActivated()) {
if ($this->database->destination->server->isLogDrainEnabled() && $this->database->isLogDrainEnabled()) {
ray('Log Drain Enabled');
$docker_compose['services'][$container_name]['logging'] = [
'driver' => 'fluentd',
'options' => [