You shouldn't include the logback.xml in the generated jar file. Only the ultimately generated artifact should have a logback.xml file, best loaded from the file system (possibly through -D). It doesn't matter what settings base has for logging, derive should set all logging parameters.
jason On Thursday, August 15, 2013 3:51:04 PM UTC-7, Stephen Cagle wrote: > > I have project 'base' that has a logback.xml file and project 'derive' > that also has a logback.xml file. Project 'derive' has a dependency on > 'base'. When I "lein trampoline repl" on project 'derive', I get the > following warning. > > .... > 15:34:30,066 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > Could NOT find resource [logback.groovy] > 15:34:30,066 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > Could NOT find resource [logback-test.xml] > 15:34:30,066 |-INFO in ch.qos.logback.classic.LoggerContext[default] - > Found resource [logback.xml] at > [file:/home/stephen/Work/com.samedhi/derive/client/config/logback.xml] > 15:34:30,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > Resource [logback.xml] occurs multiple times on the classpath. > 15:34:30,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > Resource [logback.xml] occurs at > [jar:file:/home/stephen/.m2/repository/com/samedhi/base.app/0.0.1-SNAPSHOT/base.app-0.0.1-SNAPSHOT.jar!/logback.xml] > 15:34:30,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - > Resource [logback.xml] occurs at > [file:/home/stephen/Work/com.samedhi/derive/client/config/logback.xml] > 15:34:30,129 |-INFO in > ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute > not set > .... > > So, the problem appears to be that I have two logback.xml's in my > classpath. What am I supposed to do to "surpress" the logback.xml from > project 'base'? > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.