You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2017/02/02 02:03:52 UTC

[jira] [Updated] (OOZIE-2702) OYA: Remove System.out.println() calls and replace them with Loggers

     [ https://issues.apache.org/jira/browse/OOZIE-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Piros updated OOZIE-2702:
--------------------------------
    Description: 
Currently there are a lot of {{System.out.println()}} calls in the code, mostly in the {{sharelib}}.

This solution is inferior to using a logger library, where we can fine-tune a lot of different things. It's desirable that we migrate these calls to Log4j.

The preferred solution would be to use {{log4j}} {{Logger}} in our code, redirected per default to the console using {{ConsoleAppender}}. That way we wouldn't be breaking compatibility, but some of the users could redirect to another {{Appender}} s.

  was:
Currently there are a lot of {{System.out.println()}} calls in the code, mostly in the sharelib.

This solution is inferior to using a logger library, where we can fine-tune a lot of different things. It's desirable that we migrate these calls to Log4j.


> OYA: Remove System.out.println() calls and replace them with Loggers
> --------------------------------------------------------------------
>
>                 Key: OOZIE-2702
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2702
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Peter Bacsko
>
> Currently there are a lot of {{System.out.println()}} calls in the code, mostly in the {{sharelib}}.
> This solution is inferior to using a logger library, where we can fine-tune a lot of different things. It's desirable that we migrate these calls to Log4j.
> The preferred solution would be to use {{log4j}} {{Logger}} in our code, redirected per default to the console using {{ConsoleAppender}}. That way we wouldn't be breaking compatibility, but some of the users could redirect to another {{Appender}} s.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)