Wednesday, July 31, 2013

OpenAM Debug Files Mapping

Have you ever tried looking at OpenAM source code and attempted to debug from the log files? And subsequently got lost? :> 

There are numerous debug logs. Which one to zoom in?

[cheechong@cdemo debug]$ ls
Authentication  Configuration  CoreSystem  IdRepo  Session  amUpgrade




Well, there is a mapping file actually. It's debugfiles.properties.


[cheechong@cdemo classes]$ pwd
/home/cheechong/opt/apache-tomcat-7.0.35-am1/webapps/am10/WEB-INF/classes
[cheechong@cdemo classes]$ ls -alt debugfiles.properties 
-rw-rw-r-- 1 cheechong cheechong 3439 Apr 13  2012 debugfiles.properties


[cheechong@cdemo classes]$ head debugfiles.properties
AuthAgents=Authentication
FAMSTSAuthorizationProvider=WebServices
LDAPConnectionPool=CoreSystem
LDAPv3EventService=IdRepo
LDAPv3Repo=IdRepo
PLLClient=CoreSystem
PossibleLocales=CoreSystem
ReplayPasswd=Authentication
SAE=Authentication
SystemTimer=CoreSystem
:
:
:


.




No comments:

Post a Comment