Configuring Logging

SNMP Simulator uses Apache Log4J framework for logging. The generated log files are stored in the following directories:

Windows %PROGRAMDATA%\Nextian\SNMP Agent Simulator\logs

Linux /var/log/nextian

There are two main log files:

  • snmp-simulator-agent.log — simulator server log (start/stop log, GET/SET request tracking, agent creation, etc.)
  • snmp-simulator-webconsole.log — web console log (user activity)

By default, the log files are recycled after two weeks (they can grow to substantial sizes as each SNMP request is logged).

To customize logging settings, copy log4j2-server.xml and log4j2-web.xml from the <installation directory>/etc/nextian.d to:

Windows C:\Windows\etc\nextian.d

Linux /etc/nextian.d

and modify them as required.

Was this page helpful?