stanford-core-nlp icon indicating copy to clipboard operation
stanford-core-nlp copied to clipboard

Getting rid of "Adding annotator x" debug message?

Open robertjung opened this issue 11 years ago • 3 comments

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...

robertjung avatar Jan 14 '14 12:01 robertjung

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.

andyatkinson avatar Feb 25 '14 20:02 andyatkinson

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'.

louismullie avatar Feb 26 '14 02:02 louismullie

Please be patient, we are working on this issue!

arbox avatar Oct 24 '16 09:10 arbox