#59 Include postgres logs into bubble's log management

Злито
jonathan злито 6 комітів з kris/move_psql_logs до master 4 роки тому
kris прокоментував(ла) 4 роки тому

@jonathan please review

@jonathan please review
jonathan був призначений kris 4 роки тому
jonathan рецензовано 4 роки тому
bubble-server/src/main/resources/packer/roles/bubble/tasks/main.yml
@@ -121,3 +121,3 @@
minute: "*/5"
user: "root"
job: "log_manager.sh"
job: "log_manager.sh >>/var/log/bubble/log_manager.log 2>&1"
jonathan прокоментував(ла) 4 роки тому

does shell redirection work in a cron job declaration like this? you might need to do something like:

bash -c "log_manager.sh >>/var/log/bubble/log_manager.log 2>&1"

let me know if you have tested this and it works.

does shell redirection work in a cron job declaration like this? you might need to do something like: `bash -c "log_manager.sh >>/var/log/bubble/log_manager.log 2>&1"` let me know if you have tested this and it works.
kris прокоментував(ла) 4 роки тому

I’ll add this change just to be sure it will work well for other logs.

But even this doesn’t add output Restarted supervisord that I see in console when I manually execute log_manager.sh after turning logs back on. Anyhow, not of great importance here I guess.

I'll add this change just to be sure it will work well for other logs. But even this doesn't add output `Restarted supervisord` that I see in console when I manually execute log_manager.sh after turning logs back on. Anyhow, not of great importance here I guess.
jonathan closed this pull request 4 роки тому
jonathan видалена гілка kris/move_psql_logs 4 роки тому
Запит на злиття був влитиий як a39cb29480.
Підпишіться щоб приєднатися до обговорення.
No reviewers
Без мітки
Етап відсутній
Немає виконавеця
2 учасників
Сповіщення
Дата завершення

Термін виконання не встановлений.

Залежності

Цей запит на злиття в даний час не має залежностей.

Завантаження…
Тут ще немає жодного змісту.