logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dolbydc <donevan.do...@base2s.com>
Subject RollingFileAppender Exception
Date Mon, 06 May 2013 23:01:13 GMT
All,

I am getting the following error on one machine when running log4cxx, but
the appender works properly on my development VM.

log4cxx: Exception during rollover
log4cxx: No output stream or file set for the appender named
[appxNormalAppender].

Here is my current xml configuration for this.

<?xml version="1.0" encoding="UTF-8" ?>
  <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  
  <appender name="appxConsoleAppender"
class="org.apache.log4j.ConsoleAppender">
      
     <layout class="org.apache.log4j.PatternLayout">
       
     </layout>
  </appender>

  
  <appender name="appxNormalAppender"
class="org.apache.log4j.RollingFileAppender">
      
      
      
      
      <rollingPolicy
class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
            
      </rollingPolicy>
      <layout class="org.apache.log4j.PatternLayout">
            
      </layout>
  </appender>


  
  <appender name="appxAuditAppender" class="org.apache.log4j.FileAppender">
      
      
      <layout class="org.apache.log4j.PatternLayout">
            
      </layout>
  </appender>

  
  <root>
      <priority value="all" />
      <appender-ref ref="appxNormalAppender"/>
      <appender-ref ref="appxConsoleAppender"/>
  </root>

  
  <category name="audit" >
      <priority value ="info" />
      <appender-ref ref="appxAuditAppender"/>
  </category>
</log4j:configuration>




--
View this message in context: http://apache-logging.6191.n7.nabble.com/RollingFileAppender-Exception-tp37288.html
Sent from the Log4cxx - Users mailing list archive at Nabble.com.

Mime
View raw message