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

Finish writing error messages to log rather than using print() #21

Open
philip-schrodt opened this issue Jun 28, 2016 · 1 comment
Open
Milestone

Comments

@philip-schrodt
Copy link
Contributor

There are still an assortment of these -- very low probability contingencies, probably -- but they should go to the log, since generally no one is watching the screen except when debugging.

@ahalterman
Copy link
Member

There's also a lot of info getting printed out during coding that would be nice to have logged rather than printed, while you're at it. For example, I get output like this for every story:

Processing story 5770266d172ab87ec6dc98ef

 5770266d172ab87ec6dc98ef_0
 FINANCE MINISTER MOSHE KAHLON ON SUNDAY SAID THAT THE FINANCE MINISTRY HAD SET UP A 24-HOUR `` SITUATION ROOM '' TO KEEP TABS ON ECONOMIC REPERCUSSIONS FROM THE UNITED KINGDOM 'S THURSDAY VOTE TO BREAK FROM THE EUROPEAN UNION .
NPgm-rec-2: ~GOV
NPgm-rec-1: ISRGOVMED
NPgm-rec-1.1: (u'ISRGOVMED', [u'>090401'])
NPgm-rec-2: ~GOV

@johnb30 johnb30 added this to the 2.0.0 milestone Jul 20, 2016
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

3 participants