kuberay
kuberay copied to clipboard
[logger] sync to file
Why are these changes needed?
support sync log to file in pod.
this feature is controllered by log_file
parameter in command line, default only output log to std
Related issue number
https://github.com/ray-project/kuberay/issues/593
Checks
- [ ] I've made sure the tests are passing.
- Testing Strategy
- [ ] Unit tests
- [x] Manual tests
- [ ] This PR is not tested :(
manual testing through replace the based image in dockerfile. the previous image can not exec into it.
Overall the change looks good to me beside the parameter pattern
@Basasuya can you help address @kevin85421's comment?
@kevin85421 sorry for the slow reply, I have rebase the master again.
Can you add more details about how to use this feature in your PR description? This PR will be very helpful for both users and developers to debug. Thank you! Overall, the code looks good to me, and I just added some nit comments on it.
I add the detail in PR description.
@Jeffwan is this PR ready to merge? The merge is blocked by your change requests. Thank you!
@kevin85421 Yeah, it looks good to me.