tools.logging

Reflection Warnings when using tools.logging

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

A few of my projects are still reflecting using tools.logging 0.2.6 and slf4j-log4j12 "1.7.2".

lein check produces the following output:

...
Reflection warning, curator_clj/zookeeper.clj:1:1 - reference to field isTraceEnabled can't be resolved.
Reflection warning, curator_clj/zookeeper.clj:1:1 - reference to field isDebugEnabled can't be resolved.
Reflection warning, curator_clj/zookeeper.clj:1:1 - reference to field isInfoEnabled can't be resolved.
Reflection warning, curator_clj/zookeeper.clj:1:1 - reference to field isWarnEnabled can't be resolved.
Reflection warning, curator_clj/zookeeper.clj:1:1 - reference to field isErrorEnabled can't be resolved.
Reflection warning, curator_clj/zookeeper.clj:1:1 - reference to field isErrorEnabled can't be resolved.
...

Activity

Hide
Trevor Bernard added a comment -

Forking that project and will try to find a simple test case that reproduces it.

Show
Trevor Bernard added a comment - Forking that project and will try to find a simple test case that reproduces it.
Hide
Alexander Taggart added a comment -

I've made a quick test project: https://github.com/ataggart/reflect-log-test

Cloning that repo, running lein check yields no reflection warnings.

Please provide a way for me to reproduce what you see.

Show
Alexander Taggart added a comment - I've made a quick test project: https://github.com/ataggart/reflect-log-test Cloning that repo, running lein check yields no reflection warnings. Please provide a way for me to reproduce what you see.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: