log4j.rootLogger=<%= @log['level'] %>, <%= @log['appenders'].join(',') %>
#
# Console appender
#
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.target=System.err
log4j.appender.Console.layout.ConversionPattern=<%= @log['pattern'] %>
#
# Basic File appender
#
log4j.appender.Filer=org.apache.log4j.FileAppender
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=<%= @log['pattern'] %>
log4j.appender.File.File=<%= @log['file'] %>
log4j.appender.File.append=true


# <%= @log %>
log4j.rootLogger=<%= @log['level'] %>, <%= @log['appenders'].join(',') %>
#
# Console appender
#
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.target=System.err
log4j.appender.Console.layout.ConversionPattern=<%= @log['pattern'] %>
#
# Basic File appender
#
log4j.appender.Filer=org.apache.log4j.FileAppender
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=<%= @log['pattern'] %>
log4j.appender.File.File=<%= @log['file'] %>
log4j.appender.File.append=true


Debug in the log4j configuration template
Debug in the log4j configuration template
