Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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.
Solved! Go to Solution.
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.
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.
This looks to be correct.
This is correct, just keep in mind the $(wt.logs.dir)$(dir.sep) can be replaced with a static file path but the slashes need to be escaped like this: "C:\\temp\\logs\\".