#59 Include postgres logs into bubble's log management

Integração executada
jonathan integrou 6 cometimentos de %!<(string=kris/move_psql_logs)/code> em master há 4 anos
kris comentado há 4 anos

@jonathan please review

@jonathan please review
jonathan foi atribuída por kris há 4 anos
jonathan reviu há 4 anos
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 comentado há 4 anos

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 comentado há 4 anos

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 fechou este pedido de integração há 4 anos
jonathan eliminou o ramo kris/move_psql_logs há 4 anos
A integração constante no pedido foi executada como a39cb29480.
Inicie a sessão para participar neste diálogo.
Sem revisores
Sem etiquetas
Sem etapa
Sem responsáveis
2 Participantes
Notificações
Date limite

Sem data limite definida.

Dependências

Este pedido de integração não tem quaisquer dependências, neste momento.

Carregando…
Ainda não há conteúdo.