Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ovs-ovn logging #1848

Merged
merged 1 commit into from
Aug 25, 2022
Merged

fix ovs-ovn logging #1848

merged 1 commit into from
Aug 25, 2022

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Aug 24, 2022

tail command should follow file name instead of file descriptor

What type of this PR

  • Bug fixes

Which issue(s) this PR fixes:

After the log file has been rotated, tail stops printing the log, and still holds the file descriptor:

tail  8435  root 3r  REG  253,0  17385  67521247 /var/log/ovn/ovn-controller.log.1 (deleted)

This patch is part of fixes for #1849.

tail command should follow file name instead of file descriptor
@zhangzujian zhangzujian marked this pull request as ready for review August 25, 2022 09:32
@oilbeater oilbeater merged commit 34e02eb into kubeovn:master Aug 25, 2022
@oilbeater
Copy link
Collaborator

for version before 1.10 ovn-central logs also need modification

@zhangzujian zhangzujian deleted the fix-log branch August 25, 2022 10:00
zhangzujian added a commit that referenced this pull request Aug 25, 2022
tail command should follow file name instead of file descriptor
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Aug 25, 2022
tail command should follow file name instead of file descriptor
zhangzujian added a commit to zhangzujian/kube-ovn that referenced this pull request Aug 25, 2022
tail command should follow file name instead of file descriptor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants