如何强制侦听器在“侦听器日志文件”字段中以txt格式显示到listener.log的路径

问题描述 投票:1回答:1

当显示侦听器状态时,如何强制oracle 11g侦听器以txt格式而不是log.xml显示txt格式的listener.log路径?预先感谢。

oracle oracle11g listener
1个回答
0
投票
oracle@esmd:~> lsnrctl

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 17-JAN-2020 09:05:51

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

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> show trc_directory
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=yyyy.xxx.zzz)(PORT=1521)))
LISTENER parameter "trc_directory" set to /oracle/diag/tnslsnr/esmd/listener/trace
The command completed successfully

LSNRCTL> exit
oracle@esmd:~> ls -l  /oracle/diag/tnslsnr/esmd/listener/trace
total 1112632
-rw-r----- 1 oracle oinstall 1138215020 2020-01-17 09:07 listener.log
oracle@esmd:~>



[oracle@yyyyyyyy ~]$ lsnrctl

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 17-JAN-2020 06:14:37

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

Welcome to LSNRCTL, type "help" for information.
LSNRCTL> show trc_dir
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=yyyyyyyyyyyy)(PORT=1521)))
LISTENER parameter "trc_directory" set to /opt/ora/app/oracle/diag/tnslsnr/yyyyyyyyyyyy/listener/trace
The command completed successfully
LSNRCTL> exit
[oracle@yyyyyyyyyyy ~]$ ls -l /opt/ora/app/oracle/diag/tnslsnr/yyyyyyyyyyy/listener/trace
total 341740
-rw-r----- 1 oracle oinstall 349654982 Jan 17 06:15 listener.log
[oracle@yyyyyyyyyyy ~]$
© www.soinside.com 2019 - 2024. All rights reserved.