`
zhushaolong
  • 浏览: 64319 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Log4j配置文件--show more with gui

阅读更多
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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 or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


# For the general syntax of property based configuration files see the
# documenation of org.apache.log4j.PropertyConfigurator.

# The root category uses the appender called A1. Since no priority is
# specified, the root category assumes the default priority for root
# which is DEBUG in log4j. The root category is the only category that
# has a default priority. All other categories need not be assigned a
# priority in which case they inherit their priority from the
# hierarchy.

log4j.rootCategory=, A1

# A1 is set to be a LF5Appender which outputs to a swing
# logging console. 
  
log4j.appender.A1=org.apache.log4j.lf5.LF5Appender
log4j.appender.A1.MaxNumberOfRecords=1000

 

log4j.rootCategory=, A1  #需要显示的日志的级别

log4j.appender.A1=org.apache.log4j.lf5.LF5Appender  #LogFactor5 图形化查看日志

log4j.appender.A1.MaxNumberOfRecords=1000  #最多显示1000条日志记录



 

 

 

 

分享到:
评论

相关推荐

    log4j-core-2.15.0.jar log4j-2.15.0-rc2

    Apache log4j2零日漏洞,根据 log4j-2.15.0-rc2 版本编译生成log4j-api-2.15.0.jar 1.解压你的jar jar xvf XXX.jar 2. 删除旧版本jar cd ./BOOT-INF/lib rm -rf log4j-api-*.jar 3. 上传新版本log4j-api-2.15.0....

    log4j-api-2.15.0.jar log4j-2.15.0-rc2

    Apache log4j2零日漏洞,根据 log4j-2.15.0-rc2 版本编译生成log4j-api-2.15.0.jar 1.解压你的jar jar xvf XXX.jar 2. 删除旧版本jar cd ./BOOT-INF/lib rm -rf log4j-api-*.jar 3. 上传新版本log4j-api-...

    logging-log4j2-log4j-2.15.0-rc2.zip maven 资源库

    针对Log4j 2 远程代码执行漏洞,需要用到的升级资源包,适用于maven资源库,包括log4j,log4j-core,log4j-api,log4j-1.2-api,log4j-jpa等全套2.15.0 maven资源库jar包。如果是maven本地仓库使用,需要将zip包解压...

    log4j-to-slf4j-2.17.1-API文档-中文版.zip

    赠送Maven依赖信息文件:log4j-to-slf4j-2.17.1.pom; 包含翻译后的API文档:log4j-to-slf4j-2.17.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.apache.logging.log4j:log4j-to-slf4j:2.17.1; 标签:...

    log4j-over-slf4j-1.7.33-API文档-中文版.zip

    赠送Maven依赖信息文件:log4j-over-slf4j-1.7.33.pom; 包含翻译后的API文档:log4j-over-slf4j-1.7.33-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.slf4j:log4j-over-slf4j:1.7.33; 标签:over、slf4j、...

    log4j-api-2.17.1.jar和log4j-core-2.17.1.jar

    这个库实现了log4j-api中定义的接口,提供了具体的功能,比如各种Appender(控制台输出、文件写入、网络传输等)、Layout(日志格式化)、Filter(日志过滤)和Lookup(动态配置变量解析)。例如,`org.apache....

    log4j-api-2.12.4.ja和log4j-core-2.12.4.jar

    配置Log4j通常通过一个XML或JSON格式的配置文件完成,例如`log4j2.xml`或`log4j2.json`,这个文件定义了日志的输出级别、目的地(如控制台、文件、数据库等)以及格式。 总的来说,Log4j 2是Java开发中不可或缺的...

    log4j-over-slf4j-1.7.33-API文档-中英对照版.zip

    赠送Maven依赖信息文件:log4j-over-slf4j-1.7.33.pom; 包含翻译后的API文档:log4j-over-slf4j-1.7.33-javadoc-API文档-中文(简体)-英语-对照版.zip; Maven坐标:org.slf4j:log4j-over-slf4j:1.7.33; 标签:over...

    log4j-2.15.0-rc2.zip

    内含log4j-api-2.15.0.jar和log4j-core-2.15.0.jar Apache log4j2零日漏洞,根据 log4j-2.15.0-rc2 版本编译生成 1.解压你的jar jar xvf XXX.jar 2. 删除旧版本jar cd ./BOOT-INF/lib rm -rf log4j-api-*.jar 3....

    log4j-api-2.12.1-API文档-中文版.zip

    赠送Maven依赖信息文件:log4j-api-2.12.1.pom; 包含翻译后的API文档:log4j-api-2.12.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.apache.logging.log4j:log4j-api:2.12.1; 标签:apache、logging、log...

    log4j.jar各个版本

    apache-log4j-1.2.15.jar, apache-log4j-extras-1.0.jar, apache-log4j-extras-1.1.jar, apache-log4j.jar, log4j-1.2-api-2.0.2-javadoc.jar, log4j-1.2-api-2.0.2-sources.jar, log4j-1.2-api-2.0.2.jar, log4j-...

    log4j-to-slf4j-2.12.1-API文档-中文版.zip

    赠送Maven依赖信息文件:log4j-to-slf4j-2.12.1.pom; 包含翻译后的API文档:log4j-to-slf4j-2.12.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.apache.logging.log4j:log4j-to-slf4j:2.12.1; 标签:...

    apache-log4j-extras-1.2.17-API文档-中文版.zip

    赠送Maven依赖信息文件:apache-log4j-extras-1.2.17.pom; 包含翻译后的API文档:apache-log4j-extras-1.2.17-javadoc-API文档-中文(简体)版.zip; Maven坐标:log4j:apache-log4j-extras:1.2.17; 标签:apache、...

    开发工具 log4j-api-2.3

    开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3开发工具 log4j-api-2.3...

    log4j-to-slf4j-2.17.1-API文档-中英对照版.zip

    赠送Maven依赖信息文件:log4j-to-slf4j-2.17.1.pom; 包含翻译后的API文档:log4j-to-slf4j-2.17.1-javadoc-API文档-中文(简体)-英语-对照版.zip; Maven坐标:org.apache.logging.log4j:log4j-to-slf4j:2.17.1; ...

    log4j-api-2.17.1-API文档-中文版.zip

    赠送Maven依赖信息文件:log4j-api-2.17.1.pom; 包含翻译后的API文档:log4j-api-2.17.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.apache.logging.log4j:log4j-api:2.17.1; 标签:apache、logging、api...

    log4j-core-2.12.1-API文档-中文版.zip

    赠送Maven依赖信息文件:log4j-core-2.12.1.pom; 包含翻译后的API文档:log4j-core-2.12.1-javadoc-API文档-中文(简体)版.zip; Maven坐标:org.apache.logging.log4j:log4j-core:2.12.1; 标签:apache、logging、...

    Log4j2学习用到的jar包及apache-log4j-2.19.0-bin.zip

    分别有disruptor-3.3.4.jar(Log4j2异步日志的底层实现)、log4j-api-2.19.0.jar(log4j门面)、log4j-core-2.19.0.jar(log4j实现)、log4j-slf4j-impl-2.19.0.jar(SLF4J与Log4j绑定)、slf4j-api-1.7.30.jar(SLF...

    logging-log4j2-log4j-2.15.0-rc2.zip

    Log4j 2支持通过JMX或配置文件实时修改日志级别和配置,无需重启应用,大大提高了运维效率。 6. **可插拔架构**: 其插件架构允许开发者轻松扩展功能,如自定义Appender、Filter或Layout,满足个性化需求。 7. *...

    开发工具 log4j-core-2.3

    开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-core-2.3开发工具 log4j-...

Global site tag (gtag.js) - Google Analytics