#59 Include postgres logs into bubble's log management

已合併
jonathan 4 年之前 將 6 次代碼提交從 kris/move_psql_logs合併至 master

@jonathan please review

@jonathan please review
jonathankris 4 年之前指派
jonathan reviewed 4 年之前
@@ -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 評論 4 年之前

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 評論 4 年之前

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 年之前
jonathan 刪除分支 kris/move_psql_logs 4 年之前
The pull request has been merged as a39cb29480.
登入 才能加入這對話。
No reviewers
未選擇標籤
未選擇里程碑
No Assignees
2 參與者
訊息
截止日期

未設定截止日期。

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
尚未有任何內容