Skip to content

Commit

Permalink
add timezone info to logging page
Browse files Browse the repository at this point in the history
  • Loading branch information
dmuelle committed May 16, 2024
1 parent ca34685 commit ec3383a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/ROOT/pages/log-trace-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ A server has the following four primary log files:
- `verbosegc.XXX.log` - These files contain verbose garbage collection output from the JVM and are created by default when the Java implementation is either IBM Java or IBM Semeru Runtimes. Up to 10 rolling log files are created in your log directory, with 1024 GC cycles per file, where `XXX` represents the sequence number of the log file. Custom configurations take precedence over the default behavior. To disable the verbose garbage collection logs, add `VERBOSEGC=false` to the `server.env` file. For more information, see the https://eclipse.dev/openj9/docs/vgclog[Verbose garbage collection logs].
You can use the `user.timezone` JVM property to set the time zone for your application environments. Set the `user.timezone` property in the `jvm.properties` file. The updated time zone information is displayed in the `messages.log` and `trace.log` files. The following example shows how to set the time zone.

[subs=+quotes]
----
-Duser.timezone=_time_zone_code_
----

The following sections provide more information about configuring your Open Liberty logs:

* <<#configuaration,Logging configuration>>
Expand Down

0 comments on commit ec3383a

Please sign in to comment.