Skip to content

Conversation

@ZanderAdam
Copy link

Creates 2 loggers:
main - logs anything from watch
payout - creates new log file whenever payout is triggered. Format example: 20180211-133501.log

NOTE
First time working with python. I was also unable to test generate.py as I could not get the stellar.db up and running. So not sure how well the payout logger will work when its actually triggered.

Add some logging to generate.py and watch.py
chore: fix lint errors
@ZanderAdam
Copy link
Author

ZanderAdam commented Feb 11, 2018

Test failing on python 3.4. Not sure how you guys want to handle that so I've left it be.

@texm
Copy link
Contributor

texm commented Feb 27, 2018

Doesn't seem to output properly on my end, here's a snippet:

2018-02-27 13:36:34,416 [MainThread  ] [DEBUG]                  \Created Payment %(paymentOp)s
2018-02-27 13:36:34,416 [MainThread  ] [DEBUG]                  Building Transaction...
2018-02-27 13:36:34,420 [MainThread  ] [DEBUG]                  Transaction Created
2018-02-27 13:36:34,420 [MainThread  ] [DEBUG]                  %(transaction)s

Also I believe the test error is due to the lack of a logs/ folder.

If you'd like I can send you a sample stellar.db file I've been using for testing?

@texm texm added the enhancement New feature or request label Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants