Logback

S1ght

Expert Member
Joined
Jan 23, 2006
Messages
3,301
Reaction score
27
Location
Berlin
So I've spent the afternoon Googling and I've run out of Google to Google /o\

Any chance anyone here has any experience using slf4j and logback (and maybe Oracle WebLogic)?

I can't get it to see my configuration xml (logback.xml). Every documentation, forum, blog, etc I've read have all just said that it needs to be in the classpath.

So pretty much just src/main/resources but no matter where I put it, logback says it can't find it. If I use a simple this.getClass().getClassLoader().getResourceAsStream("logback.xml") , it finds it fine so that means it is on the classpath.

My next guess is Oracle is screwing me over somehow but I'm pretty much out of ideas of how to solve this 1. Without the config file it just loads the default which just logs to the console :twisted:

Any help would be appreciated at this point :)
 
You should get an Oracle support account. Weblogic is a great product, but you need to know what you are doing. It's one of those product that are easy to screw up and very difficult to fix.

Might be too late for you now, but avoid it if you don't have Oracle support.
 
Top
Sign up to the MyBroadband newsletter
X