首页 > 数据库 > Oracle > 11G Oracle 关闭监听XML日志产生的方法
1)To avoid generating or reduce the xml files, please set the following parameter:
In sqlnet.ora
In listener.ora
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/ ,如需转载,请注明出处,否则将追究法律责任。