Version:-OAM
11.1.2.3.0 and later
To enable trace:-32 logs for Oauth by using
wlst
Steps to perform for enabling trace:-32 logs for Oauth in OAM
cd
/u01/Oracle/Middleware/Oracle_IDM1/common/bin
./wlst.sh
Please enter
your username :weblogic
Please enter
your password :
Please enter
your server URL [t3://localhost:7001] :t3://oiddomain.com:7001
Connecting
to t3://oiddomain.com:7001 with userid weblogic ...
Successfully
connected to Admin Server 'AdminServer' that belongs to domain 'OAMdomain'.
Warning: An
insecure protocol was used to connect to the
server. To
ensure on-the-wire security, the SSL port or
Admin port
should be used instead.
wls:/OAMdomain/serverConfig>
domainRuntime()
Location
changed to domainRuntime tree. This is a read-only tree with DomainMBean as
the root.
For more
help, use help(domainRuntime)
wls:/OAMdomain/domainRuntime>
setLogLevel(logger="oracle.idaas",target="oam_server1",level="TRACE:32",persist="0")
wls:/OAMdomain/domainRuntime>
listLoggers(pattern="oracle.idaas", target="oam_server1")
-------------+-----------------
Logger |
Level
-------------+-----------------
oracle.idaas
| TRACE:32
To disable Trace 32 logs:-
wls:/OAMdomain/domainRuntime>
setLogLevel(logger="oracle.idaas",target="oam_server1",level="NOTIFICATION:1",persist="0")
Thanks,
Aditya.