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

Add a logging facility #20

Open
mikldt opened this issue Nov 14, 2013 · 1 comment
Open

Add a logging facility #20

mikldt opened this issue Nov 14, 2013 · 1 comment
Assignees

Comments

@mikldt
Copy link
Member

mikldt commented Nov 14, 2013

When we start the app with bandshelld, we should log important events like errors, remote logins, and initial setup/authentication, to somwhere that they can read back, even if it just lasts until the next restart, this would let us go in and debug. Right now any output seems to go to the bit bucket.

Sinatra's built-in / plugin-based logging facilities aren't clear and probably deserve some research.

Something to think about: can we save the logs in non-volatile storage? How would we deal with running out of storage space?

@mikldt
Copy link
Member Author

mikldt commented Nov 26, 2013

Note: it looks like the daemons gem can redirect STDOUT and STDERR to a file; this might be an approach worth considering.

http://daemons.rubyforge.org/Daemons.html#method-c-run

@ghost ghost assigned mikldt Dec 1, 2013
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