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

Matt Post commented on JOSHUA-262:
----------------------------------

It's not very systematic. 

- 0: print nothing. This mostly works, except the flag is not passed to KenLM, 
which sometimes prints something
- 1: print "basic" information, like progress loading models, information about 
each sentence, and so on
- 2+: extended debugging and detail

I think it's useful to have a "silent" model (-v 0), and 1 should probably be 
for INFO. I'm not sure what the standard practice is when you want extra 
debugging output?

> Implement all logging as Slf4j over Log4j
> -----------------------------------------
>
>                 Key: JOSHUA-262
>                 URL: https://issues.apache.org/jira/browse/JOSHUA-262
>             Project: Joshua
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 6.0.5
>            Reporter: Lewis John McGibbney
>            Assignee: Thamme Gowda N
>             Fix For: 6.1
>
>
> [~hsaputra] suggested that we implement all logging as Slf4j over Log4j. If 
> we use [parameterized logging 
> notation|http://www.slf4j.org/faq.html#logging_performance] we can have good 
> logging in place.



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

Reply via email to