You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "E. Sammer (Updated) (JIRA)" <ji...@apache.org> on 2011/11/14 21:20:51 UTC

[jira] [Updated] (FLUME-831) flume-jdbc-channel project has unnecessary direct dependency on log4j API

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

E. Sammer updated FLUME-831:
----------------------------

    Status: Patch Available  (was: Open)

Marking as patch available.
                
> flume-jdbc-channel project has unnecessary direct dependency on log4j API
> -------------------------------------------------------------------------
>
>                 Key: FLUME-831
>                 URL: https://issues.apache.org/jira/browse/FLUME-831
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: NG alpha 1
>            Reporter: Will McQueen
>            Assignee: Arvind Prabhakar
>
> Please use slf4j API instead of direct log4j API. So in org.apache.flume.channel.jdbc.JdbcChannel, just change this:
>      import org.apache.log4j.Logger;
>      private static final Logger LOG = Logger.getLogger(JdbcChannel.class);
> ...to this:
>      import org.slf4j.Logger;
>      import org.slf4j.LoggerFactory;
>      private static final Logger LOG = LoggerFactory.getLogger(JdbcChannel.class);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira