cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to change WindchillDS log directory

giulix
5-Regular Member

How to change WindchillDS log directory

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

2 REPLIES 2
adesai_87
14-Alexandrite
(To:giulix)

Hi,

 

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

 

Regards,

Amar

giulix
5-Regular Member
(To:adesai_87)

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

Top Tags