redirect logs to specific file in epAgent
search cancel

redirect logs to specific file in epAgent

book

Article ID: 232764

calendar_today

Updated On:

Products

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

Issue/Introduction

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