- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 perl 中使用 DBD::Oracle,每当连接失败时,客户端都会生成一个包含错误详细信息的 sqlnet.log 文件。
问题是,我已经有 perl 捕获的错误,并且在我自己的日志文件中。我真的不需要这些额外的信息。
那么,是否有停止创建 sqlnet.log 的标志或环境?
最佳答案
从金属链接
The logging is automatic, there is no way to turn logging off, but since you are on Unix server, you can redirect the log file to a null device, thus eliminating the problem of disk space consumption.
In the SQLNET.ORA file, set LOG_DIRECTORY_CLIENT and LOG_DIRECTORY_SERVER equal to a null device.
For example:
LOG_DIRECTORY_CLIENT = /dev/null
LOG_FILE_CLIENT = /dev/nullin SQLNET.ORA suppresses client logging completely.
To disable the listener from logging, set this parameter in the LISTENER.ORA file:
logging_listener = off
关于perl - 阻止 Oracle 生成 sqlnet.log 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/848166/
我在 perl 中使用 DBD::Oracle,每当连接失败时,客户端都会生成一个包含错误详细信息的 sqlnet.log 文件。 问题是,我已经有 perl 捕获的错误,并且在我自己的日志文件中。我
我正在尝试使用 访问 oracle 数据库 using System.Data.OracleClient; 从控制台应用程序访问数据库没问题。但是从 ASP.NET 网站我得到错误: ORA-1264
这是一个相当具体的问题。 我正在一个 Java 项目中做一些工作,该项目使用数据库访问框架,最初设计用于与 Oracle DB 9i 一起使用。 为了完成这个项目,我需要在 Mac 上安装 Oracl
我有一个 oracle 11g 数据库服务器,我从 OCI 客户端连接到它。这工作正常,但现在的要求是我们需要连接到启用 SSL 的数据库。 为此,我必须创建一个 sqlnet.ora 并将其放置在
有没有办法配置 Oracle SQL Developer 以尊重 sqlnet.ora 中的 TNS 查找顺序? 我们在 TNS_ADMIN 文件夹中正确配置了所有信息: ldap.ora sqlne
我们在周末从 Oracle 11 迁移到 Oracle 12c。我的应用程序开始崩溃,堆栈跟踪如下: +++INFO+++20170904_13:21:10 Application.main - St
我是一名优秀的程序员,十分优秀!