#59 Include postgres logs into bubble's log management

Fusionnée
jonathan a fusionné 6 révision(s) à partir de kris/move_psql_logs vers master il y a 4 ans
kris a commenté il y a 4 ans

@jonathan please review

@jonathan please review
jonathan s'est vu assigner cela par kris il y a 4 ans
jonathan révisé il y a 4 ans
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 a commenté il y a 4 ans

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 a commenté il y a 4 ans

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 a fermé cette pull request il y a 4 ans
jonathan a supprimé la branche kris/move_psql_logs il y a 4 ans
La demande de tirage a été fusionnée en a39cb29480.
Connectez-vous pour rejoindre cette conversation.
Pas de relecteur
Pas d'étiquette
Aucun jalon
Pas d'assignataires
2 participants
Notifications
Échéance

Aucune échéance n'a été définie.

Dépendances

La demande de fusion n'a actuellement pas de dépendance.

Chargement…
Il n'existe pas encore de contenu.