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

Expose server logs over REST API #28

Open
Inei1 opened this issue Aug 13, 2018 · 0 comments
Open

Expose server logs over REST API #28

Inei1 opened this issue Aug 13, 2018 · 0 comments

Comments

@Inei1
Copy link
Contributor

Inei1 commented Aug 13, 2018

Being able to view the contents of the server's logs could be helpful to remotely administrate the server. To do this, it should be possible to use the PathManager's getLogPath() method to find the logs directory, then get the contents of all .log files and expose them as a resource.

It might be best to restrict viewing of the logs to server admins.

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

No branches or pull requests

1 participant