#59 Include postgres logs into bubble's log management

병합
jonathan kris/move_psql_logs 에서 master 로 6 commits 를 머지했습니다 4 년 전
kris 코멘트됨, 4 년 전

@jonathan please review

@jonathan please review
jonathan 다음으로부터 할당됨 kris 4 년 전
jonathan 검토됨 4 년 전
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 코멘트됨, 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
레이블 없음
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일

마감일이 설정되지 않았습니다.

의존성

이 풀 리퀘스트는 어떠한 의존성도 가지지 않습니다.

불러오는 중...
아직 콘텐츠가 없습니다.