#59 Include postgres logs into bubble's log management

Fusionado
jonathan fusionados 6 commits de kris/move_psql_logs en master hace 4 años
kris comentado hace 4 años

@jonathan please review

@jonathan please review
jonathan fue asignado por kris hace 4 años
jonathan revisado hace 4 años
@@ -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 hace 4 años

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 hace 4 años

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 cerró este pull request hace 4 años
jonathan rama eliminada kris/move_psql_logs hace 4 años
El Pull Request se ha fusionado como a39cb29480.
Inicie sesión para unirse a esta conversación.
No hay revisores
Sin etiquetas
Sin Milestone
No asignados
2 participantes
Notificaciones
Fecha de vencimiento

Sin fecha de vencimiento.

Dependencias

Este pull request actualmente no tiene ninguna dependencia.

Cargando…
Aún no existe contenido.