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

We are happy to announce the new Windchill Customization board! Learn more.

INFO Logging

louztyper1
1-Newbie

INFO Logging

does anyone know where the INFO logging setting is? i need to turn it off i am getting too many

2009-03-04 09:34:06,906 INFO [SimpleTaskDispatcher0] com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher

entries in my MSlog file. i just want ERROR entries.


5 REPLIES 5
jessh
5-Regular Member
(To:louztyper1)

Apart from periodic health summaries and a few other targeted
exceptions, the intent of Windchill's logging in R9 and higher is to log
only errors (and a few serious warnings).

I'm not sure offhand why this info logging is being done (e.g. whether
someone hard-wired setting this logger's level to INFO in the code or
whether it is just a bad out-of-the-box configuration), but I would open
a call on this and demand that this be fixed as this behavior is not
inline with the intent of our product's logging.

--
Jess Holle

Stephen Cord wrote:
>
> does anyone know where the INFO logging setting is? i need to turn it
> off i am getting too many
>
>
>
> 2009-03-04 09:34:06,906 INFO [SimpleTaskDispatcher0]
> com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher
>
>
>
> entries in my MSlog file. i just want ERROR entries.
>
>
>
>
>
> -----End Original Message-----

I was able to find this in the codebase folder:

C:\ptc\Windchill_9.1\Windchill\codebase\loggers.html

PTC is using log4J (YES!!!!). With the right logger name, you should be
able to change the log level of the logger specifically.

See more info here:

Try log4jmethodserver.properties or log4jwebapp.properties in
codebase\web-inf directory.

jessh
5-Regular Member
(To:louztyper1)

Villanueva, Antonio wrote:
>
> I was able to find this in the codebase folder:
>
> C:\ptc\Windchill_9.1\Windchill\codebase\loggers.html
>
> PTC is using log4J (YES!!!!). With the right logger name, you should
> be able to change the log level of the logger specifically.
>
Unless someone hard-coded a "logger.setLevel(...)" somewhere
inappropriate in the code.

Of course there are some legacy xxxx.verbose, etc, properties in
wt.properties for which we intentionally do a logger.setLevel(...) for
the new log4j logger that corresponds to the old verbsoe output.

--
Jess Holle
>
> See more info here:
>
>

Hi Stephen, Try the following url

http://
<hostname>/Windchill/servlet/WindchillAuthGW/com.ptc.core.logging.remote.Logger/config

and change the following property to ERROR or WARN


com.ptc.windchill.uwgm :: WARN




Regards,
Prathap





Top Tags