[
https://issues.apache.org/jira/browse/CALCITE-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15107670#comment-15107670
]
Josh Elser commented on CALCITE-669:
------------------------------------
I have this mostly working, one thing I'm trying to track down are some
spurious warnings while running the tests:
{noformat}
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
{noformat}
My only guess at this point is that there is some issue with loading things
with the parallel test runner. Right after the above, we can see the logging is
set up and functional.
{noformat}
Running org.apache.calcite.avatica.jdbc.JdbcMetaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in
org.apache.calcite.avatica.jdbc.JdbcMetaTest
2016-01-19 18:25:42,802 [pool-1-thread-3] INFO - jetty-9.2.7.v20150116
2016-01-19 18:25:42,803 [pool-1-thread-3] INFO - Started
ServerConnector@7639fabd{HTTP/1.1}{0.0.0.0:51067}
2016-01-19 18:25:42,803 [pool-1-thread-3] INFO - Started @771ms
2016-01-19 18:25:42,804 [pool-1-thread-3] INFO - Service listening on port
51067.
2016-01-19 18:25:42,804 [pool-1-thread-3] INFO - jetty-9.2.7.v20150116
2016-01-19 18:25:42,806 [pool-1-thread-3] INFO - Started
ServerConnector@7a8c4ce2{HTTP/1.1}{0.0.0.0:51068}
2016-01-19 18:25:42,806 [pool-1-thread-3] INFO - Started @774ms
2016-01-19 18:25:42,806 [pool-1-thread-3] INFO - Service listening on port
51068.
{noformat}
I can say it's functional because this is the format I specified in the
log4j.properties file. I need to see if there is some sort of work around to
this -- the parallel tests cause such trouble :\
> Move from Commons Logging to SLF4J
> ----------------------------------
>
> Key: CALCITE-669
> URL: https://issues.apache.org/jira/browse/CALCITE-669
> Project: Calcite
> Issue Type: Task
> Components: avatica
> Reporter: Nick Dimiduk
> Assignee: Josh Elser
> Priority: Minor
> Fix For: 1.7.0
>
>
> As mentioned on CALCITE-641, it could be useful to adopt a logging
> implementation that supports pluggable backends and has
> [MDC|http://www.slf4j.org/manual.html#mdc] support.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)