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

Daemon, simple file logging, etc #33

Merged
merged 4 commits into from
Feb 5, 2014
Merged

Conversation

meeh420
Copy link
Contributor

@meeh420 meeh420 commented Feb 5, 2014

I'm a bit unsure about the Queue.h change, but it's the only one not resulting in segfault I've tried yet.
Added daemon mode, a really simple redirect of stdout to file for file logging and signal catching for reloading of config (SIGHUP) and shutdown signals.

@orignal
Copy link
Contributor

orignal commented Feb 5, 2014

For logging to the file look at the line LogMsg (std::ostream& o = std::cout): output (o) {}; in Log.h.
File stream should be passed instead std::cout

orignal added a commit that referenced this pull request Feb 5, 2014
Daemon, simple file logging, etc
@orignal orignal merged commit 5ecf675 into PurpleI2P:master Feb 5, 2014
@meeh420
Copy link
Contributor Author

meeh420 commented Feb 5, 2014

I will look on it tomorrow.

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

Successfully merging this pull request may close these issues.

None yet

2 participants