Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

[FEATURE] ProgressListener and disabling cout/cerr debug messages from hdt-cpp #8

Open
nilesh-c opened this issue Jun 17, 2019 · 0 comments

Comments

@nilesh-c
Copy link
Contributor

  • hdt-cpp uses a bunch of cout/cerr debug output and in Python it can be annoying to have those messages with no means to make this configurable. Since it's c++ extensions, I couldn't figure out any way to shut them up in Python code. I wrote a workaround for this that redirects cerr/cout to /dev/null here.
  • Fully loading large files like DBpedia hdts can take a while, so I used hdt-cpp's StdoutProgressListener to get some progress output from the HDTManager::loadXXX methods. In the same commit here

Let me know if you find any of those useful and I'll send a PR. :)

@nilesh-c nilesh-c changed the title ProgressListener and disabling cout/cerr debug messages from hdt-cpp [FEATURE] ProgressListener and disabling cout/cerr debug messages from hdt-cpp Jun 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant