Skip to main content
7-Bedrock
September 20, 2024
Solved

Sending Garbage Collection Logs To Another Folder

  • September 20, 2024
  • 1 reply
  • 768 views

Version: Windchill 12.0

 

Use Case: I am seeking to reroute the garbage collection logs to their own folder so the log folder only contains the other logs such as the method server and server manager logs.


Description:

I am looking to be able to keep my windchill logs in the log folder but re route the garbage collection logs to their own folder, is this possible? I assume there is a site.xconf property I can set? I am on windchill 12.027 with plans to upgrade in the future.

Best answer by SWeiler_9940261

Referencing article:
https://www.ptc.com/en/support/article/CS73309

 

For Windchill 12.0 or above refer to property default:  wt.manager.cmd.MethodServer.gc.log.args=-Xlog\:gc*\:file\=$(wt.logs.dir)$(dir.sep){1}-{2,date,yyMMddHHmmssSSS}-{0}-GC.log\:time\:\:filecount\=4,filesize\=128m

 

It looks like if you replace the variable $(wt.logs.dir) it should route to another location.

1 reply

16-Pearl
September 20, 2024

Referencing article:
https://www.ptc.com/en/support/article/CS73309

 

For Windchill 12.0 or above refer to property default:  wt.manager.cmd.MethodServer.gc.log.args=-Xlog\:gc*\:file\=$(wt.logs.dir)$(dir.sep){1}-{2,date,yyMMddHHmmssSSS}-{0}-GC.log\:time\:\:filecount\=4,filesize\=128m

 

It looks like if you replace the variable $(wt.logs.dir) it should route to another location.

avillanueva
23-Emerald I
23-Emerald I
September 24, 2024

This looks to be correct.