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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Debugging OIRs

pwilliams-3
11-Garnet

Debugging OIRs

Hi Everyone,
Does anyone know the logger that I need to set to turn on verbose OIR evaluation?

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image001.jpg@01D072A6.2DE58AE0]

4 REPLIES 4

From PTC Knowledge Base:



* In the event JConsole or a similar JMX client fails to work as
expected, it is still possible to enable JMX loggers

1. Open <windchill>/codebase/WEB-INF/log4jMethodServer.properties in a
text editor

2. Edit the file to set the following loggers to DEBUG level as follows

* log4j.logger.wt.access.evaluation.events=DEBUG

* log4j.logger.wt.access.evaluation.policyACL=DEBUG

* log4j.logger.wt.access.evaluation.report=DEBUG

* log4j.logger.wt.access.evaluation.securityLabels=DEBUG

* Refer to Article 78878 :
<">https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS78878> The
differences between the various Access Control related Loggers in Windchill
to evaluate which logger may be appropriate

3. The settings will take effect within a few minutes without a
MethodServer restart

* Verbosities similar to the loggers can also be set by setting the
wt.properties below but is less desirable

* wt.access.verboseEvent=true

* wt.access.verboseExecution=true

* wt.access.verbosePolicy=true

* The above properties can be added to the site.xconf file using
syntax: xconfmanager -s "wt.access.verbose=true" -t
"codebase/wt.properties" -p

* This approach requires a MethodServer restart














Set log level on the wt.rule package ALL
On Apr 9, 2015 9:22 AM, "Williams, Patrick" <->
wrote:

> Hi Everyone,
>
> Does anyone know the logger that I need to set to turn on verbose OIR
> evaluation?
>
>
>
> *Patrick Williams* | Engineering Systems | c: 616.947.2110
>
> [image: sc_inc_black_sig_1_alt]
>
>
>

Thanks everyone. The below classes worked correctly.

setting wt.rule and com.ptc.core.rule to DEBUG should help ...

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image002.jpg@01D072B2.3E9E95F0]



Wow what a miss... Sorry man I misunderstood your question cause
just today I was looking into ACL debugging... My bad! :-#

Em
09.04.2015 11:45, Williams, Patrick escreveu:

> Thanks everyone. The
below classes worked correctly.
>
> setting wt.rule and
com.ptc.core.rule to DEBUG should help ...
>
> PATRICK WILLIAMS |
Engineering Systems | c: 616.947.2110
>
Top Tags