29 行
1.7 KiB
XML
29 行
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
|
|
<zhiqim-config>
|
|
|
|
<group id="logging" desc="日志配置">
|
|
<item key="logging.info" value="debug-info" type="protected" desc="信息日志配置" />
|
|
<item key="logging.error" value="error-fatal" type="protected" desc="错误日志配置" />
|
|
<item key="logging.httpd" value="debug-fatal" type="protected" desc="HTTPD监听日志配置" />
|
|
</group>
|
|
|
|
<group id="logging.info" desc="信息日志配置">
|
|
<item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
|
|
<item key="file.out" value="true" type="protected" desc="是否输出到文件" />
|
|
<item key="file.path" value="./logs/info.log" type="protected" desc="输出到文件路径" />
|
|
</group>
|
|
|
|
<group id="logging.error" desc="错误日志配置">
|
|
<item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
|
|
<item key="file.out" value="true" type="protected" desc="是否输出到文件" />
|
|
<item key="file.path" value="./logs/error.log" type="protected" desc="输出到文件路径" />
|
|
</group>
|
|
|
|
<group id="logging.httpd" desc="错误日志配置">
|
|
<item key="must.name" value="httpd.listen" type="protected" desc="必须匹配日志名称,默认为空即不匹配" />
|
|
<item key="file.out" value="true" type="protected" desc="是否输出到文件" />
|
|
<item key="file.path" value="./logs/httpd.log" type="protected" desc="输出到文件路径" />
|
|
</group>
|
|
|
|
</zhiqim-config> |