How Do You Set Local Timezone for TDM Portal Log Files?

book

Article ID: 140607

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

All of the TDM Portal services write log entries in UTC.

Would like them to use PST instead. 

How to you make this change?

 

 

 

 

Environment

Release : 4.8.127.0

Component : CA Test Data Manager - TDM Web Portal

Resolution

To change the timezone reflected in the TDM Portal logs:


Edit C:\Program Files\CA\CA Test Data Manager Portal\conf\logback-tdm.xml and make this change in two places in this file:


From (line 10):


%date{yyyy-MM-dd HH:mm:ss.SSS z,UTC} [%-5p] [%-25t] --- [U:%X{USER}][M:%X{METHOD}][P:%X{PATH}]%50logger{20}%-2(:) %m%n%rEx


To (line 10):


%date{yyyy-MM-dd HH:mm:ss.SSS z,PST} [%-5p] [%-25t] --- [U:%X{USER}][M:%X{METHOD}][P:%X{PATH}]%50logger{20}%-2(:) %m%n%rEx

and


From (line 32):


%date{yyyy-MM-dd HH:mm:ss.SSS z,UTC} [%-5p] [%-25t] --- [U:%X{USER}][M:%X{METHOD}][P:%X{PATH}]%50logger{20}%-2(:) %m%n%rEx

To (line 32):


%date{yyyy-MM-dd HH:mm:ss.SSS z,PST} [%-5p] [%-25t] --- [U:%X{USER}][M:%X{METHOD}][P:%X{PATH}]%50logger{20}%-2(:) %m%n%rEx


Restart service CA Test Data Manager Portal to pick up the new logging settings.


The new timezone will be reflected in all Portal log files.

Additional Information

You can do this for CST or EST as well.