關閉監聽的日誌。

wei-xh發表於2010-12-14

可以透過在listener.ora檔案裡增加

LOGGING_LISTENER = OFF

來關閉監聽日誌一般需要重啟監聽才能生效。

lsnrctl status可以檢視當前監聽的日誌路徑,和監聽配置檔案的路徑。

[oracle@qa_143_199 ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 14-DEC-2010 11:06:10

Copyright (c) 1991, 2008, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.20.143.199)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date                24-NOV-2010 22:59:38
Uptime                    19 days 12 hr. 6 min. 31 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/products/11.1.0/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/qa_143_199/listener/alert/log.xml

Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.20.143.199)(PORT=1521)))
Services Summary...
Service "crmg" has 1 instance(s).
  Instance "crmg", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22034023/viewspace-681720/,如需轉載,請註明出處,否則將追究法律責任。

相關文章