ITPub博客

首页 > 数据库 > Oracle > 11G Oracle 关闭监听XML日志产生的方法

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

原创 Oracle 作者:charsi 时间:2016-09-01 11:24:38 0 删除 编辑
设置如下两个参数

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博客 ” ,链接:https://blog.itpub.net/23850820/viewspace-2124319/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-05-04

  • 博文量
    96
  • 访问量
    406715