ESXi 5 删除虚拟机硬盘释放空间一点小注意
2013-07-06 16:32
218 查看
log4j的additivity属性值默认是设置为true的。可参考其api,地址:http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#setAdditivityboolean。
描述:Additivity is set to true by default, that is children inherit
the appenders of their ancestors by default. If this variable is
set to
then the appenders found in the
ancestors of this category are not used. However, the children
of this category will inherit its appenders, unless the children
have their additivity flag set to
too. See
the user manual for more details.
默认为true时,就会产生冗余日志。所以只要设置为false,就可以去除冗余了。
另外一篇参考文章的地址:http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/
描述:Additivity is set to true by default, that is children inherit
the appenders of their ancestors by default. If this variable is
set to
false
then the appenders found in the
ancestors of this category are not used. However, the children
of this category will inherit its appenders, unless the children
have their additivity flag set to
false
too. See
the user manual for more details.
默认为true时,就会产生冗余日志。所以只要设置为false,就可以去除冗余了。
log4j.rootLogger = INFO, ta log4j.logger.com.test = INFO, ta log4j.additivity.com.test = false
另外一篇参考文章的地址:http://veerasundar.com/blog/2009/08/log4j-tutorial-additivity-what-and-why/
相关文章推荐
- VMWare的硬盘只增不减???可以这样在删除系统文件后,释放硬盘的空间
- 如何回收Xenserver 删除虚拟机快照后释放的空间
- 如何回收Xenserver 删除虚拟机快照后释放的空间
- 删除Oracle表空间,释放硬盘空间
- VMWare的硬盘只增不减???可以这样在删除系统文件后,释放硬盘的空间
- 硬盘空间满,删除了大文件之后空间没有释放
- solr 删除 date 类型的索引 ,并释放硬盘空间
- linux定时删除多余日志,以释放硬盘空间
- 删除Win7 flash缓存文件以节省硬盘的存储空间
- Oracle 删除表中记录 如何释放表及表空间大小
- linux删除文件未释放空间
- Linux下删除命令 硬盘空间查看... 常用命令
- 关于mysql 删除数据后物理空间未释放(转载)
- VMware vm linux 虚拟机 硬盘空间不足 磁盘最大大小调整 方案
- 使用批处理命令定期清理删除指定后缀文件,释放空间
- 删除日志文件 空间不释放
- Linux下虚拟机硬盘空间扩展及挂载配置
- Linux下删除文件为何空间不释放
- 删除表空间和表空间在硬盘里的文件
- 删除文件后硬盘可用空间为何不增加?