-
Notifications
You must be signed in to change notification settings - Fork 178
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 logging for daemon #12
Comments
This is basically just adding a logfile for the daemon to the existed twisted-based logging ( |
Which is more urgent, this issue or #38? |
I would personally vote for this one since I don't use Qt and am currently looking to see if there is a log file I can tail to debug my |
@mecampbellsoup yes thanks, it would be good to take a look at this. i actually haven't looked into it for ages, let me know if you have any questions. be aware that in future it's definitely intended that people may run this as a separate process on a different machine, in case that factors into any decision. |
on this, first, you know there is a logfile in logs/randomname.log for each run, right? This will contain whatever log.debug, log.info etc messages are in the code. Twisted network logging is not included, though, because as you can see Just mentioning in case you weren't fully aware what's there already. The client-side logging is going to cover most of what you need for debugging a client-side script (which yg is one of). |
@AdamISZ ah nice, I did not actually realize that!
Seems to be hanging on this initialization step... |
It'd be a good idea to come on #joinmarket on freenode IRC for help with stuff like that. |
@AdamISZ so this issue specifically relates to adding Twisted logging? What would you say are the specs/behavior changes for this issue so I have clarity on that? |
I hadn't decided for sure what kind of logging should be done. When running everything-in-one (i.e. daemon and client in same process) it'd be nice that any info/error messages get added to logs/J5***.log). As for Twisted logging, it can be started with If you want to help out the first thing I'd do is figure out how to do runs in the testing environment (see TESTING.md) and try to get to the point where you can do whole tumbler.py runs on regtest. That puts you in a good position to try stuff out. |
It crossed my mind today what the main reason was for opening the issue (it was a long time ago!) - received privmsgs are not printed out to the debug log (those sent out, are). This is obviously a significant loss of useful debugging information. So addressing this issue should at least change that (example: a taker should be able to see all the !ioauth privmsgs he receives in a transaction). |
No description provided.
The text was updated successfully, but these errors were encountered: