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 log file via web UI #3

Open
RichiH opened this issue Aug 16, 2014 · 6 comments
Open

Expose log file via web UI #3

RichiH opened this issue Aug 16, 2014 · 6 comments

Comments

@RichiH
Copy link

RichiH commented Aug 16, 2014

This could be as simple as offering a page that loads the log file in full and displays it via www.

If the web UI is the preferred way to interact with oxi, it should be possible to look up any errors/warnings in there, as well.

@ytti
Copy link
Owner

ytti commented Aug 16, 2014

On ruby 2.0 or older, or 1.9.3 with appropriate gem loaded it's all syslog, so we don't know where it's written, it might not be written even locally.
We'd need to revert to local logging to guarantee access there.

@RichiH
Copy link
Author

RichiH commented Aug 17, 2014

You could offer local log as an option and, if it's enabled, display that. If it's not enabled, let the user know that they could do it if they wanted to in the "logs" page.

@ytti
Copy link
Owner

ytti commented Aug 18, 2014

Should we allow enabling both or just one at a time?

log:
syslog: true
file: /tmp/poop

or

log: /tmp/poop
syslog: true

or

log: [/tmp/poop SYSLOG]

@twindh
Copy link

twindh commented Sep 23, 2015

I like the idea to allow both syslog and file simultaneously.

@ytti
Copy link
Owner

ytti commented Sep 23, 2015

Yeah we need to return file logging support. Especially for dockerized installs it's more prudent to log to file (STDOUT).

@supertylerc
Copy link
Contributor

Can the discussion of logging to a file be moved to ytti/oxidized?

Once that is implemented, I can look into displaying the logs in the web UI.

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

No branches or pull requests

4 participants