Configure Log Agent logging - EcoSys - Installation & Upgrade - Hexagon PPM

EcoSys Connect Installation and Configuration

Language
English
Product
EcoSys
Search by Category
Installation & Upgrade
EcoSys Version
1.0.01

Follow the steps below to configure logging for Log Agent,

  1. Edit the file $CONNECT/components/logAgent/swarm/config/log4j2.xml

  2. Edit the file $CONNECT/components/logAgent/swarm/config/run/logrotate.conf, to configure MongoDB log retention.

    The default configuration retains logs for 7 days, rotates them at least once a day or when it reaches 10 MB in size. For more information, see https://linux.die.net/man/8/logrotate