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

Feature request: display logs for a process in a web page #34

Closed
michaelveloz opened this issue Sep 16, 2011 · 2 comments
Closed

Feature request: display logs for a process in a web page #34

michaelveloz opened this issue Sep 16, 2011 · 2 comments

Comments

@michaelveloz
Copy link

ok, if an application has a problem and then you click on the link to do a "tail", you only see like 15 lines which is almost useless.

You could consider going to the stderr log file that supervisord creates, but that's owned by supervisord and I can't even read.

So here are some options to make looking at log content actually useful:

  1. Mod supervisord to have another html link per process named "view stderr" or "view stdout" .. when clicked these would display the content of the corresponding log file on an html page
  2. Alter supervisord to allow the user to specify on startup how many lines to pass to "tail -f" .. so when one clicks that link in the supervisord UI, you get more than the current 15 or so lines
  3. On the html page in which supervisord shows tail's output, add an html button titled "go back more" that, when clicked, stops the tail, and restarts it, but passes it a larger number than before so more content is shown (alternatively you could have a text box there that lets the user enter how many lines they'd like to go back and see)
mnaberez added a commit that referenced this issue Sep 16, 2011
@mnaberez
Copy link
Member

I agree that the web interface can be improved. We have this in the TODO file already, so I'm going to close this issue for now. I've added a reference back to this issue in the TODO file for when we work on it.

@carolinux
Copy link

carolinux commented Jan 17, 2017

@mnaberez Hi, did this get addressed? I would also like to have a larger tail, but I don't know how to specify that on startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants