ems probe creating very large log files
search cancel

ems probe creating very large log files

book

Article ID: 410450

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The ems probe does not appear to be rolling log files correctly and is creating huge files.

Environment

  • DX UIM - Any Version (see note regarding 23.4.6 and earlier below)
  • ems probe

Resolution

  1. Open the Raw Configure interface for the ems probe
  2. inside the "setup" section, ensure that youhave the follwing key/value:

    key: log4j
    value: true



  3. Navigate to the startup->opt section
  4. Edit the "java_opts" key and ensure that it contains the following value:
    -server -Dlog4j.configurationFile=file:./log4j2.xml -XX:ErrorFile=./hs_err_pid.log




    Note for UIM 23.4.6 and earlier:
    In addition to the above steps,   edit the file (UIM_HOME)\Nimsoft\probes\service\ems\log4j2.xml using a text editor such as Notepad++ and find the value for "Root level" as seen in the below screenshot.  Make sure this is set to one of the following values:

    "all", "trace", or "debug" 

    Due to a defect, if you use the values "info", "warn", "error", "fatal", or "off" this will cause the log file to grow indefinitely.  (This will be resolved in DX UIM 23.4.7 - ETA March 2026)