时间:2010-07-24 16:11:50

标签: log4j

2 个答案:

答案 0 :(得分:7)

在XML配置中<log4j:configuration debug="true" xmlns:log4j='http://jakarta.apache.org/log4j/'>

debug

false属性设置为select substring(cola, len(t1b.cola), len(cola) - ( len(t1b.cola) + len(t1e.cola) ) ) as new_cola from (select t2.*, row_number() over (partition by seqnum order by len(t1b.cola) + len(t1e.cola) desc) as seqnum from (select t2.*, row_number() over (order by (select null)) as seqnum from l_test2 t2 ) t2 left join l_test1 t1b on t2.cola like t1b.cola + '%' left join l_test1 t1e on t2.cola like '%' + t1e.cola ) t where seqnum = 1;

快乐记录: - )

答案 1 :(得分:0)

您应该添加类似于.xml文件的内容。

<root>
        <priority value="DEBUG"/>
        <appender-ref ref="debug-out"/>
</root>