我的日志正在服务器日志中打印,因为我没有在log.xml中指定的特定文件中打印
log.xml
<appender name = "Logs" class = "org.apache.log4j.DailyRollingFileAppender">
<param name = "File" value = "${jboss.server.log.dir}/Loggers/Logs.log" />
<param name = "DatePattern" value = "'.'yyyy-MM-dd"/>
<param name = "Append" value = "true" />
<layout class="org.apache.log4j.PatternLayout">
<param name="conversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}|%m%n" />
</layout>
</appender>
<logger name="Log">
<level value="ALL"/>
<appender-ref ref="Logs" />
</logger>
请帮帮我。