setting time zone for log entries in EM logs.
search cancel

setting time zone for log entries in EM logs.

book

Article ID: 398561

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

Would like to set the Eastern time zone for EM logs. It seems like ET, EST and EDT not working. IST and CST seems to work good as string.

Resolution

Please try the following in ./config/logback-em.xml file.

<variable name="LOG_PATTERN" value="%d{yyyy-MM-dd HH:mm:ss.SSS, America/New_York} %5p %pid --- [%t] %logger{44} : %m%n%ex"/>