CA PIM: How to suppress message for CSRF in server.log message at CA PIM Enterprise console login
search cancel

CA PIM: How to suppress message for CSRF in server.log message at CA PIM Enterprise console login

book

Article ID: 72599

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction



When customer login CA PIM Enterprise console, it shows many message in server.log.
2018-01-15 15:20:04,681 INFO [STDOUT] [Mon Jan 15 15:20:04 JST 2018] [Info] CsrfGuard analyzing request /iam/ac/ca12/index.jsp
2018-01-15 15:20:07,747 INFO [STDOUT] [Mon Jan 15 15:20:07 JST 2018] [Info] CsrfGuard analyzing request /iam/CSRFGuard/JavaScriptServlet
...

Can he suppress the message? 

Environment

OS:  Windows 
Products:  CA Privileged Identity Manager for Enterprise Management  All

Resolution

You can suppress message with following steps:

1. edit log properties file:
  <JBOSSHOME>\server\default\conf\jboss-log4j.xml
2. search "org. apache category".
3. Add following category after searched line:
Before:
  <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
  <category name="org.apache">
      <priority value="INFO"/>
  </category>

After:
  <!--  Limit the org.apache category to INFO as its DEBUG is verbose -->
  <category name="org.apache">
      <priority value="INFO"/>
  </category>
  <!-- to avoid output for CSRFGuard information message -->
  <category name="STDOUT">
      <priority value="WARN" />
  </category>


4. wait for 60 sec.