By default, Sys.out statements are printed in the $Oracle_Home/opmn/logs/
To specify other out file location:
We use "-out [file]" option in the oc4j startup parameter list to Specifies a file to route the standard output to. The specified file contains messages that are printed to System.out, as well as the messages sent to output through the servlet logging interface. If not specified, all output is written to standard out.
Note that in an OPMN-managed configuration, the file will be generated within an instance_default_group_1 directory appended to the path specified.
For example, if you specify the following in opmn.xml:
The mylog.log file will actually be generated in:
/mypath/instanceName_default_group_1/mylog.log.
To specify other err file location:
We use "-err [file]" option in the oc4j startup parameter list to specify a file to route standard error output to. The file contains messages that are printed to System.err. If not specified, all errors are written to standard error.
Note that in an OPMN-managed configuration, the file will be generated within an instance_default_group_1 directory appended to the path specified. See the -out description above for details.
See "Managing stdout/stderr Log Files" for additional system properties that can be set to manage stdout files.
Highscalability is Up For Sale
11 months ago
No comments:
Post a Comment