#59 Include postgres logs into bubble's log management

Merge aplicado
jonathan aplicou merge dos 6 commits de kris/move_psql_logs em master 4 anos atrás
kris comentou 4 anos atrás

@jonathan please review

@jonathan please review
jonathan foi atribuído por kris 4 anos atrás
jonathan revisou 4 anos atrás
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 comentou 4 anos atrás

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 comentou 4 anos atrás

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 anos atrás
jonathan excluiu branch kris/move_psql_logs 4 anos atrás
O pull request teve merge aplicado como a39cb29480.
Acesse para participar desta conversação.
No reviewers
Sem etiqueta
Sem marco
Sem responsável
2 participante(s)
Notificações
Data limite

Data limite não informada.

Dependências

Atualmente este pull request não tem dependências.

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