louismullie / stanford-core-nlp

Ruby bindings to the Stanford Core NLP tools (English, French, German).
Other
432 stars 70 forks source link

Getting rid of "Adding annotator x" debug message? #22

Open robertjung opened 10 years ago

robertjung commented 10 years ago

Hi there,

is anyone aware of a possibility to run Stanford NLP a bit less verbose? Got a lot Adding annotator x on stderr that I'd rather not see...

andyatkinson commented 10 years ago

What we did was specify a log file path, and then at least the logging is not in stdout/stderr, but it would be nice to make the logging optional.

louismullie commented 10 years ago

Logging cannot be disabled completely due to the way BindIt interfaces with the JVM. The best alternative is to redirect to a file path for now: StanfordCoreNLP.log_file = 'log.txt'.

arbox commented 7 years ago

Please be patient, we are working on this issue!