Can anyone help me fix this log4j problem?
When I add log4j to my list of libraries, at run time I get the following
message:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: target\activemq-test.log (The system cannot
find
the path specified)
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:273)
        at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:152)
        at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
47)
        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
ava:123)
        at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
ava:87)
        at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura
tor.java:645)
        at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura
tor.java:603)
        at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC
onfigurator.java:500)
        at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:406)

-- 
View this message in context: 
http://www.nabble.com/Problem-using-log4j-with-ActiveMQ-tf3262284s2354.html#a9067124
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to