Script to convert log4j.properties to log4j.xml

后端 未结 4 1099
忘了有多久
忘了有多久 2021-01-17 10:16

I need to use custom filters, so I need to convert some long log4j.properties files to log4j.xml.

Is anyone aware of a tool to do this, or willing to contribute one

4条回答
  •  时光说笑
    2021-01-17 10:58

    Presumably you must have a lot of properties files you need to convert. When I wanted to switch to xml (many years ago) I couldn't find much documentation. I did find sample xml files in the log4j distribution which were very useful.

提交回复
热议问题