archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@gmail.com>
Subject [archiva] archiva.log missing?
Date Wed, 16 Jan 2008 16:19:05 GMT
How do I get rid of this error on Tomcat 5.5.25 running archiva 1.0 WAR:

log4j:ERROR Either File or DatePattern options are not set for appender
[auditlog].
log4j:ERROR setFile(null,true) call failed.
*java.io.FileNotFoundException: /logs/archiva.log (No such file or
directory)*
        at java.io.FileOutputStream.openAppend(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java
:151)
        at org.apache.log4j.DailyRollingFileAppender.activateOptions(
DailyRollingFileAppender.java:206)
        at org.apache.log4j.config.PropertySetter.activate(
PropertySetter.java:247)
        at org.apache.log4j.xml.DOMConfigurator.parseAppender(
DOMConfigurator.java:210)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(
DOMConfigurator.java:140)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(
DOMConfigurator.java:153)
        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement
(DOMConfigurator.java:415)
        at org.apache.log4j.xml.DOMConfigurator.parseRoot(
DOMConfigurator.java:384)
        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java
:783)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:666)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:616)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:602)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(
OptionConverter.java:460)
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        at org.apache.log4j.Logger.getLogger(Logger.java:85)
        at org.apache.commons.logging.impl.Log4JLogger.getLogger(
Log4JLogger.java:229)
        at org.apache.commons.logging.impl.Log4JLogger.<init>(
Log4JLogger.java:65)



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message