The snapshot log collects information required to maintain the system and the applications.
In the definition file for the snapshot log collection, specify the target files for the primarily sent data, secondarily sent data, and definition sending data to be collected as the snapshot log. The specified file will be collected as the snapshot log. You can edit this file to change the path of the definition file for snapshot log collection.
Specify the definition file in the following format:
For details about the files collected by snapshot log, see 2.3.3 Collecting snapshot log in the manual uCosminexus Application Server Maintenance and Migration Guide.
You can use the following variables when you specify a path:
Table 12-2 Variables that you can use in the definition file for snapshot log collection
Variables | Contents |
---|---|
${cosminexus.home} | Installation directory of the Cosminexus server |
${user.home} | Home directory of a user |
${hws.home} | Cosminexus HTTP Server installation directory |
${com.cosminexus.manager.log.dir} | Log output directory of the Cosminexus Manager |
&{prfspool} | The value is specified as follows: In the environment settings of the logical server, choose the Settings tab of the Performance Tracer, go to Performance tracer settings and specify the value in the spool directory. |
&{ctmspool} | The value is specified as follows: In the environment settings of the logical server, choose the Basic settings tab of the CTM domain manager, go to Basic settings of CTM domain manager and specify the value in the spool directory. |
&{ejb.public.directory} | The value is specified as follows: In the environment settings of the logical server, choose the Container-J2EE tab of the J2EE server, go to J2EE Container settings and specify the value in the definition of the working directory. |
&{webserver.work.directory} | The value is as follows: In the environment settings of the logical server, choose the Container-Web tab of the J2EE server and specify the value in the temporary directory for JSP. |
&{ejb.server.log.directory} | The value is specified as follows: In the environment settings of the logical server, choose the Service-Log tab of the J2EE server and specify the value in the log output directory. |
&{webserver.logger.access_log.inprocess_http.filename} | The value is specified as follows: In the environment settings of the logical server, choose the Service-Transaction tab of the J2EE server; go to Access log settings and specify the value in the output file name. |
&{ejbserver.distributedtx.ots.status.directory1} | The value is specified as follows: In the environment settings of the logical server, choose the HTTP Server-Log tab of the J2EE server and specify the value in the location for saving the status file of the in-process OTS. |
&{ejbserver.distributedtx.ots.status.directory2} | The value is specified as follows: In the environment settings of the logical server, choose the HTTP Server-Log tab of the J2EE server and specify the value in the location for saving the status file (spare) of the in-process OTS. |
&{core.dump.directory} | The value is specified as follows: In the environment settings of the logical server, choose the Settings tab of the Web server; go to Web server basic settings and specify the value in the directory where the core dump is to be output. |
&{hws.logfile.dir} | The value is specified as follows: In the environment settings of the logical server, choose the Settings tab of the Web server; go to Web server log output settings and specify the value in the directory where the log is to be output. |
&{jklogfiledir} | The value is specified as follows: In the environment settings of the logical server, choose the Redirector tab of the Web server and specify the value in the directory where the log is to be output. |
&{jktracelogfiledir} | The value is specified as follows: In the environment settings of the logical server, choose the Redirector tab of the Web server and specify the value in the directory where the maintenance trace log is to be output. |
&{ctm.RegOption} | Setup file for the CTM regulator. |
&{ctm.TSCGwOption} | Setup file for the OTM gateway. |
${adminagent.prftrace_dir} | Output destination directory for the temporary PRF trace file. |
/home/logdir/message1\#.log
${cosminexus.home}/manager/log/.+#
/home/workdir/ejb/Server1/javacore.+\#.txt