While it's possible to edit log4J.properties to change log levels for IdentityIQ, there is another way to control log levels using log4j without having to know all the available classes within IdentityIQ.
There is a utility called log4jAdmin which is a single JSP page that you can load into your web application.
The file is available here: log4jAdmin.jsp - javatoolsforweblogic - Pierre's tools for Java and Weblogic - Google Project Hostin...
Drop the log4Admin.dsp file into your application. I put mine at the root of my /identityiq path in my installation.
Once you do this, the URL to use this tool will be http://<host or IP>:port/identityiq/log4jAdmin.jsp
Going to this URL will present you with a way to change logging levels for everything within IdentityIQ.
Thanks Chris Hajdu . Very useful. If anyone is getting exception while trying to access log4jAdmin.jsp page from ui, include <%@ page import="java.util.*"%> at the top of the log4jAdmin.jsp file and try.
Great stuff!
Thank you very much.
Cheers,
Daniel
Hi chris.hajdu, The only problem with this utility is the values from the log.properties file always overwrites the value configured via log4jAdmin.jsp post a server restart.
Thanks,
Srini
That's true. This is really most useful as a live dynamic log4j configurator when bouncing the application server may not be an option, or you want to control logging changes without reloading the file via our debug page.
A colleague and i were trying to find the log4jAdmin.jsp file referenced in this article, however we both noticed that it does not exist when downloading artifacts TestUnitilsV2.zip and TestUnitils.zip from the referenced link.
Outstanding!!
This log4j administration is non version specific? In IIQ 8.4 also, it works? Please let me know.
My Bad Sorry. Didnt checked the Developer Portal for the updated info. Thank you all!