redirect logs to specific file in epagant
search cancel

redirect logs to specific file in epagant

book

Article ID: 232764

calendar_today

Updated On:

Products

CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7)

Issue/Introduction

Hi, we've installed container papim-epagent:latest, we would like to redirect it's log to a specific file. how could that be done?

i.e. we've splunk forwarder installed to collect these logs.

Environment

Release : 10.0

Component :

Resolution

You can redirect the output from the IntroscopeEPA.log to the console by editing the 

/opt/papim/epagent/IntroscopeEPAgent.properties file,
and
comment the line: log4j.logger.EPAgent=INFO, logfile
uncomment the line: log4j.logger.IntroscopeAgent=INFO, console