Description of File Appeder class: org.apache.log4j.FileAppender

Overview

File Appender JavaDoc

FileAppender appends log events to a file.

Parameters

Nested Elements

XML Example Configuration

    <appender name="util" class="org.apache.log4j.FileAppender">
        <param name="File" value="/tmp/util.log" />
        <param name="Append" value="true" />
        <layout class="org.apache.log4j.PatternLayout">
          <param name="ConversionPattern" value="%t %-5p %c{2} - %m%n"/>
        </layout>           
     </appender>

Log4jXmlFormat

FileAppender (last edited 2012-10-07 17:54:07 by RalphGoers)