11G Oracle 关闭监听XML日志产生的方法

设置如下两个参数

1)To avoid generating or reduce the xml files, please set the following parameter:
In sqlnet.ora

DIAG_ADR_ENABLED=off

In listener.ora

DIAG_ADR_ENABLED_=off

Where the should  be replaced with the actual name of the configured listener(s) in the listener.ora file.  
For example, if the listener name is 'LISTENER_SCAN1', the parameter should be:
DIAG_ADR_ENABLED_LISTENER_SCAN1=OFF
-Reload or restart the TNS Listener for the parameter change to take effect.

设置这两个参数不会影响到listener.log日志的产生。
相比直接关闭Listener log的方式,还保留原有日志的产生.

参考:
Excessive Listener XML FILES CREATED IN $GRID_HOME/log/diag/tnslsnr (Doc ID 1927067.1)

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23850820/viewspace-2124319/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23850820/viewspace-2124319/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值