相关疑难解决方法(0)

如何在第三方jar中禁用log4j?

我正在尝试使用JBoss焊接编写一个java SE swing应用程序.Weld使用jar中的以下log4j.xml文件使用log4j配置日志记录:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!--

    JBoss, Home of Professional Open Source
    Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual
    contributors by the @authors tag. See the copyright.txt in the
    distribution for a full listing of individual contributors.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law …
Run Code Online (Sandbox Code Playgroud)

java log4j

15
推荐指数
1
解决办法
2万
查看次数

标签 统计

java ×1

log4j ×1