Here you can find the code of the Framework (Java and RuleLibrary), The log4j2Admin.jsp page, and some admittedly rudimentary javadoc for the Java class. Please feel free to share any criticisms and suggestions for improvements you might have. LoggingFramework.zip (562,3 KB)
Hi Alexander,
Nice video and nice tool so you dont need to go to log and enable disable manually then restart the server to enable the logs.
I have a question in the readme.txt you mention:
“place log4j2Admin.jsp page into your deployed identityiq webapp to try it out. Beware of necessary access control.
This is not included in the page natively”
Where exactly I should place the → log4j2Admin.jsp
in: my_installlation_windows/apache-tomcat/webapps/identityiq → just here??
what do you mean with → This is not included in the page natively
so I downloand the zip file which contains the logginFramework.
import the rule in my environement and adjust the package
upload the rule in iiq
but Its not clear what it means:
“place log4j2Admin.jsp page into your deployed identityiq webapp to try it out. Beware of necessary access control.
This is not included in the page natively”
Where exactly I should place the → log4j2Admin.jsp’
then i just run the iiq and what url i should go to see the log4j2 page to enable the logs?
Using Windows Explorer go to the directory where IdentityIQ is deployed (something like: d:\tomcat\webapps\identityiq)
Save the jsp file in this directory (I normally would place it in directory ....\identityiq\adminConsole as this is less obvious and still accessible
For Unix:
Save the jsp file in the directory where IdentityIQ is deployed (something like: /opt/tomcat/webapps/identityiq)
(I normally would place it in directory ..../identityiq/adminConsole as this is less obvious and still accessible)
Than use a browser (Chrome/Edge/Safari/…) and browse to http:///identityiq/adminConsole/log4j2Admin.jsp
1st of all yo should start using the Services Standard Build (SSB) (or Services Standard Deployment (SSD)) for your IdentityIQ Development.
The SSB provides a standard way of building an IdentityIQ configuration and deployment of all the IdentityIQ artifacts.
The LoggingFramework as shown in this Developer Day Presentation is a zip-file which can be directly unpacked in the SSB folder. (See also the ReadMe.txt in the zip-file: place java class form src/icc/logging/ into your own sources.). So it should be src/icc/logging/ and run a build/deployment using the SSB.