logging.xml 1.2 KB

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
  3. <zhiqim-config>
  4. <group id="logging" desc="日志配置">
  5. <item key="logging.info" value="debug-info" type="protected" desc="信息日志配置" />
  6. <item key="logging.error" value="error-fatal" type="protected" desc="错误日志配置" />
  7. </group>
  8. <group id="logging.info" desc="信息日志配置">
  9. <item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
  10. <item key="file.out" value="true" type="protected" desc="是否输出到文件" />
  11. <item key="file.path" value="./logs/info.log" type="protected" desc="输出到文件路径" />
  12. </group>
  13. <group id="logging.error" desc="错误日志配置">
  14. <item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
  15. <item key="file.out" value="true" type="protected" desc="是否输出到文件" />
  16. <item key="file.path" value="./logs/error.log" type="protected" desc="输出到文件路径" />
  17. </group>
  18. </zhiqim-config>