[ 
https://issues.apache.org/jira/browse/OPENNLP-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15794733#comment-15794733
 ] 

Joern Kottmann commented on OPENNLP-675:
----------------------------------------

For now we could have a parameter a user can set during training to 
enable/disable printing of messages to System.out during training, this can 
then be improved later.

> Absence of logging and usage of System.out
> ------------------------------------------
>
>                 Key: OPENNLP-675
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-675
>             Project: OpenNLP
>          Issue Type: New Feature
>          Components: Sentence Detector, Tokenizer
>            Reporter: Eugene Prystupa
>             Fix For: 1.7.1
>
>
> There seems to be no concept of logging used by the libraries. Instead 
> System.out.println is hard-coded in many places where debug information using 
> a logging framework would do it.
> This makes awkward to use the modules integrated into a different application 
> (as it spams our logs or console). 
> Is the usage of System.out in core classes (like GISTrainer) by choice? Or is 
> it simply a technical debt? I am happy to work on it and provide a patch if 
> this is a technical debt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to