How to change the name of logfile dynamically using log4j
来源:互联网 发布:数据挖掘 潜在用户 编辑:程序博客网 时间:2024/04/29 08:42
Quote from: http://www.theserverside.com/discussions/thread.tss?thread_id=42709
log4j.appender.appender_name.File = ${file.name}
and in the code when call PropertyConfigurator.configure, just do System.setProperty("file.name","your path");
- How to change the name of logfile dynamically using log4j
- How to delete the log file of log4j dynamically
- Ubuntu: How to Change the Computer Name
- how to change the port of tomcat
- How To Change the Partition Column Of A Partitioned Table Using DBMS_Redefinition [ID 846405.1]
- How To Change the Partition Column Of A Partitioned Table Using DBMS_Redefinition [ID 846405.1]
- 1.4 Dynamically change the look of an application by using view states,transitions and effects
- how to change Scheme name
- How to change the background color of form using C++ - 如何用C++改变窗体的颜色
- How to dynamically change label text on PyGTK
- How to record log of specified package by using log4j
- How to rename the powerpath pseudo disk name using "emcpadm"?
- How To Change the Background Color of a Tab Control
- How to change the color of a CEikLabel
- how to change the background of actionbar.tab
- how to change the background color of actionbar
- How to change the font size in legend of matlab
- How to Change the Hostname of a Linux System
- 如何使AIX 中的多路径管理(MPIO)功能失效?
- MSSQL2005远程备份数据库
- ...
- html如果实现页面链接?
- 了解JNDI是什么
- How to change the name of logfile dynamically using log4j
- 使用mci播放多媒体
- 属性和公用变量的本质区别(c#)
- operator typename() const 用作类型转换
- IIS 6.0配置HTTP压缩的步骤
- Java抽取Word,PDF的四种方法
- Sandy引擎学习笔记:多维贴图
- write实现输出百分比&breakpoint
- Oracle 10g回闪操作