#59 Include postgres logs into bubble's log management

已合并
jonathan 4 年前 将 6 次代码提交从 kris/move_psql_logs合并至 master
kris 评论于 4 年前

@jonathan please review

@jonathan please review
jonathan4 年前kris 指派
jonathan 评审于 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 关闭此合并请求 4 年前
jonathan4 年前 删除了分支 kris/move_psql_logs
该合并请求已作为 a39cb29480 被合并。
登录 并参与到对话中。
无审核者
未选择标签
未选择里程碑
未指派成员
2 名参与者
通知
到期时间

未设置到期时间。

依赖工单

此合并请求当前没有任何依赖。

正在加载...
这个人很懒,什么都没留下。