#59 Include postgres logs into bubble's log management

Scalone
jonathan scala 6 commity/ów z kris/move_psql_logs do master 4 lat temu
kris skomentował(-a) 4 lat temu

@jonathan please review

@jonathan please review
jonathan zostaje przypisany(-a) przez kris 4 lat temu
jonathan zrecenzowano 4 lat temu
@@ -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 skomentował(-a) 4 lat temu

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 skomentował(-a) 4 lat temu

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 zamknął(-ęła) ten pull request 4 lat temu
jonathan usuwa gałąź kris/move_psql_logs 4 lat temu
Pull Request został scalony jako a39cb29480.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak recenzentów
Brak etykiety
Brak kamienia milowego
Brak przypisanych
Uczestnicy 2
Powiadomienia
Termin realizacji

Brak ustawionego terminu realizacji.

Zależności

Ten Pull Request nie zawiera w tej chwili żadnych zależności.

Ładowanie…
Nie ma jeszcze treści.