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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Background MethodServer Log Files

MikeIbosh
7-Bedrock

Background MethodServer Log Files

Hi guys,
I need some help with the method server log4j settings.
I am getting a ton of BackgroundMethodServer log file entries that look like this: 2012-11-18 21:08:54,715 INFO [PublisherQueue1.PollingThread] wt.system.out lih3 - StandardConfigService.filteredIterationsOf: Relational find took 0.0 seconds & returned 1 objects.
They end up creating a 9 MB log file of these entries, and then starts a new log file and fills it up also. By the end of a week I end up with Gigabytes of Background Method Server log files.
I found this entry: log4j.logger.wt.system.out=INFO, in the <wsinstall>\codebase\WEB-INF\log4jMethodServer.properties file. Can I change this entry to DEBUG, OFF or just comment out the entire line to get these entries to stop? Is there somewhere else these log file entries are controlled from? Any help would be appreciated.
Mike
3 REPLIES 3
jessh
12-Amethyst
(To:MikeIbosh)

wt.system.out is a special log4j logger in 10.1 and higher to which all
System.out output is funneled.

There really should be no more such logging at this point -- it should
all directly target log4j. That said, routing all such logging to this
logger allowed us to collapse down to a single main log file for each
method server or server manager.

If you decrease the verbosity of this logger to less than INFO, you'll
lose all System.out output.

That may be the best you can do for now, but it may hide things you
don't want to hide as well.

Overall an SPR should be filed for this occurrence and someone taken to
task for shipping what is clearly debug output as unconditional
System.out output.

What release is this exactly? Perhaps this has already been fixed in M020.

Hi

On R10.0 M040, PTC TS recommended the following and it fixed the issue.



xconfmanager -t codebase\wt.properties -s
wt.vc.config.timeFilteredIterationsOfQuery=false -p





Thank you and have a great time.

Best Regards

Swamy Senthil

Principal Solutions Architect, Swasen Inc

swamy.senthil@swasen.com(Email); 909 800 8423(M); 973 324 2729(W); 866
908 6561(F);






Swamy,
Thanks, I'll test this, and add it to our custom xconf file.

Mike
()


On Nov 20, 2012, at 6:09 PM, "Swamy Senthil" <senthils@swasen.com<<a style="COLOR:" blue;=" text-decoration:=" underline&quot;=" target="_BLANK" href="mailto:senthils@swasen.com">>">mailto:senthils@swasen.com>> wrote:

Hi
On R10.0 M040, PTC TS recommended the following and it fixed the issue.

xconfmanager -t codebase\wt.properties -s wt.vc.config.timeFilteredIterationsOfQuery=false –p


  Thank you and have a great time.
  Best Regards
  Swamy Senthil
   Principal Solutions Architect, Swasen Inc
   swamy.senthil@swasen.com(Email)<;">mailto:swamy.senthil@swasen.com(Email)>; 909 800 8423(M); 973 324 2729(W); 866 908 6561(F);


Announcements


Top Tags