How to change VMware GemFire logging to log the messages in the local time zone
search cancel

How to change VMware GemFire logging to log the messages in the local time zone

book

Article ID: 294404

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

How does one change the VMware GemFire logging to log the messages in the local time zone?

Environment

Product Version: 9.10

Resolution

We can modify the log4j.xml to change the logging to log the messages in the local time zone. Below is an example of such a configuration:

<Property name="geode-pattern">[%level{lowerCase=true} %date{yyyy/MM/dd HH:mm:ss.SSS z}{GMT-7} %memberName &lt;%thread&gt; tid=%hexTid] %message%n%throwable%n</Property>