答案 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>