Skip to main content
5-Regular Member
February 12, 2021
Question

How to change WindchillDS log directory

  • February 12, 2021
  • 1 reply
  • 1667 views

Define environment variable WT_WINDCHILLDS_LOGS_DIR in Windchill SysAdmin's environment, as per DS 7 docs (applies to Windchill PDMLink 11.2)

1 reply

5-Regular Member
February 17, 2021

Hi,

 

There isn't supported method to change the location of WindchillDS logs.

 

Regards,

Amar

giulix5-Regular MemberAuthor
5-Regular Member
February 18, 2021

Hi Amar, thanks for your insight. There is not because it's not a PTC product; it's a Sun (now Oracle) product. Anyhow, the above does not actually work.

 

This works (courtesy of @FMason )

./dsconfig set-log-publisher-prop --publisher-name "File-Based Access Logger" --set log-file:/new/path/to/logs\
--hostname $ENV --port 4444 --bindDN "$USR" --bindPassword "$PWD" --trustAll --quiet --no-prompt

Modify according to your needs. This only works for one set of logs (access logger). Rinse and repeat for the rest of the loggers.

 

Reference:  here