-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
System logger to Slf4J conversion for wordseg package #102
Conversation
c2b496e
to
5d55419
Compare
System logger to Slf4J conversion for wordseg package
Thanks for your help on this! If you make changes to other packages I am happy to review them and then merge them in. I think doing this on a package by package basis makes the most sense. And you can see some of your code changes in release 3.6.0! Thanks again for the help! |
FYI we've released 3.6.0 which includes slf4j-api.jar and slf4j-simple.jar in the distribution. In the pom.xml though we are omitting slf4j-simple.jar from the dependencies so people can choose whatever logging they want to use for slf4j. |
You're welcome! I'll continue converting on a package by package basis when I have time.
Perfect. |
So grateful you're adding logging. I'm trying out 3.6.0 and the sentiment examples using annotators "tokenize, ssplit, parse, sentiment" and the only output I'm still seeing is "done [10 sec].". Looks to be coming from edu.stanford.nlp.util.Timing:324 public void done() { I'd really appreciate if you could add the 'utils" package to your list of updates as I presume these classes are consumed by other packages that already have logging in place. thanks! BTW, if it's any use to anyone either of the following should turn off nlp logging if using the default logger:
|
I'd be happy to help out where I can. I'd be really interested in your exact use case - perhaps take a look at how you use CoreNLP in your code to see what makes sense. |
Yep sure Taylor, my opensource project (sourceforge: crgrep) is a search Having spurious output from any third party library appearing in the Craig. On Fri, Dec 25, 2015 at 2:24 AM, Taylor Raack [email protected]
|
Per @J38 in #99 (comment), I'm starting to convert packges one by one from
System.out.println
andSystem.err.println
into SLF4J statements.