Enabling tomcat logging for Manager Service on DLP Enforce Server.
search cancel

Enabling tomcat logging for Manager Service on DLP Enforce Server.

book

Article ID: 184615

calendar_today

Updated On:

Products

Data Loss Prevention Enforce

Issue/Introduction

In DLP 16.0 and later, the following file no longer appears installed:

../SymantecDLP/Protect/tomcat/lib/log4j.properties

Environment

16.x and above

Enforce

Cause

In v9 of Tomcat, Apache appears to have discontinued the old log4j application, replacing it with a 2.0 version, "JULI".

(JULI was present from Apache v7.0 on-ward,)

This version has a different method of calling the logger.

Resolution

In the DLP ManagerLogging.properties file, the following are new entries:

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
org.apache.juli.FileHandler.level = FINEST
org.apache.juli.FileHandler.directory = /var/log/Symantec/DataLossPrevention/EnforceServer/<version>/tomcat
org.apache.juli.FileHandler.prefix = localhost.
org.apache.juli.FileHandler.formatter = com.vontu.logging.JuliNonLocalizingThreadLoggingFormatter