PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/apache-log4j-1.2.17/tests/input/xml/customLevel4.xml

#
XML | 36 lines | 17 code | 3 blank | 16 comment | 0 complexity | b0f76a854fe6fe1d45fc62572592c053 MD5 | raw file
Possible License(s): Apache-2.0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one or more
  5. contributor license agreements. See the NOTICE file distributed with
  6. this work for additional information regarding copyright ownership.
  7. The ASF licenses this file to You under the Apache License, Version 2.0
  8. (the "License"); you may not use this file except in compliance with
  9. the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing, software
  12. distributed under the License is distributed on an "AS IS" BASIS,
  13. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. See the License for the specific language governing permissions and
  15. limitations under the License.
  16. -->
  17. <log4j:configuration debug="true"
  18. xmlns:log4j='http://jakarta.apache.org/log4j/'>
  19. <appender name="TEMP" class="org.apache.log4j.FileAppender">
  20. <param name="Append" value="false" />
  21. <param name="File" value="output/temp" />
  22. <layout class="org.apache.log4j.PatternLayout">
  23. <param name="ConversionPattern"
  24. value="%-5p %c{2} - %m\n"/>
  25. </layout>
  26. </appender>
  27. <root>
  28. <level value="TRACE#org.apache.log4j.xml.XLevel"/>
  29. <appender-ref ref="TEMP" />
  30. </root>
  31. </log4j:configuration>