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

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

I'm not sure if that's right (also not sure it's wrong). Logging is just for 
things that go to STDERR, right? It seems like there should be the following:

- Decoder output that cannot be turned off. This is the most basic information, 
the translation. This isn't logging information, this is system output.

- Informative output that is useful for diagnostics, making sure things are 
running, etc. Things like reporting each sentence as it comes in, how long it 
took to translate, etc. This to me is INFO.

- WARN is for warnings, things out of the ordinary that could trip the user up

- ERROR is for errors.

> 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