Eclipse: Referencing log4j.dtd in log4j.xml

后端 未结 6 1784
既然无缘
既然无缘 2020-11-30 20:21

I\'ve been using log4j for quite a while now and I usually use this at the top of the log4j.xml (probably just like many others and according to Google this is the

6条回答
  •  粉色の甜心
    2020-11-30 20:50

    I know this question has been answered, but I'd like to provide my slightly different alternative:

    
    

    It is similar to @FrVaBe's response, but on the plus side, does not require any further Eclipse configuration (i.e., if you're sharing your project with others, or have a large team, it's one less thing to worry about).

    The down side though, is that I believe it means you'll need an Internet connection (at least at some point during development, even if it's just one time).

提交回复
热议问题