You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/09/23 20:19:04 UTC

[jira] [Commented] (DRILL-3741) Document logging configuration for JDBC-all

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

Daniel Barclay (Drill) commented on DRILL-3741:
-----------------------------------------------

Notes for documentation:

- Internally, Drill uses [SLF4J|http://www.slf4j.org/], which can log through different logging back ends.
- Drill's JDBC-all Jar file does not contain any logging back end for SLF4J.  (That avoid's interfering with the calling application's choice of which back end to use.)  (A warning about not finding {{org.slf4j.impl.StaticLoggerBinder}} indicates that SLF4J didn't find a back end.)
- A logging back end for SLF4J is typically added by adding the back end's Jar files to the class path and configuring the back end appropriately.
- For example, to add the [Logback|http://logback.qos.ch/] back end, add Logback's  {{logback-core}} and {{logback-classic}} Jar files to the class path and a {{logback.xml}} Logback configuration file in some classpath root (Jar file or directory).







> Document logging configuration for JDBC-all
> -------------------------------------------
>
>                 Key: DRILL-3741
>                 URL: https://issues.apache.org/jira/browse/DRILL-3741
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC, Documentation
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>
> Add some documentation about how to configure logging when using the JDBC-all Jar file.
> (Presumably, the user needs to select an SLF4J back end, put its Jar file on the class path somewhere, and configure it however that specific back end supports configuration, and we link to SLF4J documentation for details.)
> Probably have something in the Javadoc for class {{org.apache.drill.jdbc.Driver}} or for {{package org.apache.drill.jdbc}} and something in or near the Drill site documentation page https://drill.apache.org/docs/using-the-jdbc-driver/], and have them refer to each other (so that from whichever starting point, the users easily find the other documentation).



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