Skip to content

Commit

Permalink
7240 enable verbose garbage collection by default on ibm java semeru-2
Browse files Browse the repository at this point in the history
7240 enable verbose garbage collection by default on ibm java semeru-2

#7240
  • Loading branch information
ramkumar-k-9286 committed Feb 28, 2024
1 parent 1b21388 commit 55bc208
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/ROOT/pages/log-trace-configuration.adoc
Expand Up @@ -19,7 +19,7 @@ A server has the following four primary log files:
- `console.log` - This file is created by the `server start` command. It contains the redirected standard output and standard error streams from the underlying JVM process. This console output is formatted for human readability and it lacks some information that is useful for automated log analysis. The `console.log` file is reset when the server is restarted.
- `messages.log` - This file contains all messages that are written or captured by the logging component. All messages that are written to this file contain additional information such as the message timestamp and the ID of the thread that wrote the message. This file is suitable for automated log analysis. This file does not contain messages that are written directly by the JVM process.
- `trace.log` - This file is created only if you enable trace. It contains all the content of the `messages.log` file plus any enabled trace. This file does not contain messages that are written directly by the JVM process.
- `verbosegc.XXX.log` - This file contains the verbose garbage collection output from the JVM, generated by running IBM Java and IBM Semeru Runtimes. Up to ten rolling log files are maintained, with each file's log number denoted by `XXX`.
- `verbosegc.XXX.log` - This file contains the verbose garbage collection output from the JVM, generated by running IBM Java and IBM Semeru Runtimes. Upto `10` rolling log files are maintained, with each file's log number denoted by `XXX`.
The following sections provide more information about configuring your Open Liberty logs:

Expand Down Expand Up @@ -60,9 +60,9 @@ com.ibm.ws.logging.copy.system.streams=false

[#verbosegc]
== Verbose garbage collection logging
If you are using IBM Java, verbose garbage collection logging is enabled by default. This feature generates up to 10 rotating log files within the logs directory. Verbose garbage collection logging is valuable for diagnosing performance problems and `OutOfMemory` errors. Keep the logging feature active in production environments, as it impacts performance by less than 1%.If you set up your own verbose garbage collection configurations, those settings take precedence over the default ones. To turn off verbose GC logging, add `VERBOSEGC=false` to your `server.env` file.
If you are using IBM Java, verbose garbage collection logging is enabled by default. This feature generates up to `10` rotating log files within the logs directory. The logging feature is valuable for diagnosing performance problems and `OutOfMemory` errors. Keep the logging feature active in production environments, as it impacts performance by less than 1%. If you set up your own verbose garbage collection configurations, those settings take precedence over the default ones. To turn off verbose garbage collection logging, add `VERBOSEGC=false` to your `server.env` file.

For more information on verbose garbage collection logs, see https://www.ibm.com/docs/en/sdk-java-technology/8?topic=gc-verbose-logs[Verbose garbage collection logs].
For more information, see the https://www.ibm.com/docs/en/sdk-java-technology/8?topic=gc-verbose-logs[Verbose garbage collection logs].

[#log_formats]
== Log formats
Expand Down

0 comments on commit 55bc208

Please sign in to comment.