Modify the logs to show the count of matrix rows and conditions in the FileReader log
search cancel

Modify the logs to show the count of matrix rows and conditions in the FileReader log

book

Article ID: 281982

calendar_today

Updated On:

Products

Data Loss Prevention Data Loss Prevention Enforce

Issue/Introduction

You want to see a summary count of the matrix rows and conditions in the FileReader log.
Such as:

com.vontu.detection.ExecutionUpdater getExecutionMatrix
FINER: Updating executor with new matrix: Rows: xxx, Conditions: xxx

Resolution

Update the logs on the Detection Servers as shown here:

In Requestprocessorlogging.properties:
       java.util.logging.FileHandler.count = 20
       java.util.logging.FileHandler.limit = 10000000

In filereaderlogging.properties:
      com.vontu.detection.logging.DetectionExecutionTraceLogHandler.level = FINEST
      com.vontu.detection.logging.DetectionExecutionTraceLogHandler.limit = 10000000 
      com.vontu.detection.logging.DetectionExecutionTraceLogHandler.count = 20
      java.util.logging.FileHandler.limit = 10000000
      java.util.logging.FileHandler.level = FINEST
      java.util.logging.FileHandler.count = 20

In the same filereaderlogging.properties, add the following at the bottom of the file:
     com.vontu.messaging.level = FINEST
     com.vontu.detection.level = FINEST
     com.vontu.protocols.level = FINEST
     com.vontu.cracker.level = FINEST

 

NOTE: You can use FINER instead of FINEST if you do not wish to collect all the extra data that FINEST will log.