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

tt logrotate does not work for started instances if others are stopped #774

Open
psergee opened this issue Feb 6, 2024 · 0 comments · May be fixed by #1006
Open

tt logrotate does not work for started instances if others are stopped #774

psergee opened this issue Feb 6, 2024 · 0 comments · May be fixed by #1006
Assignees
Labels
1sp bug Something isn't working

Comments

@psergee
Copy link
Collaborator

psergee commented Feb 6, 2024

Steps to reproduce:

$ tt status
INSTANCE       STATUS          PID
app1           NOT RUNNING     
app2:inst1     RUNNING         158686
app2:inst2     RUNNING         158687

$ tt logrotate
   ⨯ NOT RUNNING

$ tt logrotate app2
   • app2:inst1: logs has been rotated. PID: 158686.
   • app2:inst2: logs has been rotated. PID: 158687.
@psergee psergee added bug Something isn't working 1sp labels Feb 6, 2024
elhimov added a commit that referenced this issue Nov 14, 2024
Just warn that the instance is not running and continue (like `tt stop`
or `tt kill` do)

Closes #774
elhimov added a commit that referenced this issue Nov 14, 2024
Just warn that the instance is not running and continue (like `tt stop`
or `tt kill` do)

Closes #774
elhimov added a commit that referenced this issue Nov 14, 2024
Just warn that the instance is not running and continue (like `tt stop`
or `tt kill` do)

Closes #774
@elhimov elhimov linked a pull request Nov 14, 2024 that will close this issue
elhimov added a commit that referenced this issue Nov 14, 2024
Just warn that the instance is not running and continue (like `tt stop`
or `tt kill` do)

Closes #774
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1sp bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants