Follow these instructions to configure logging for the Micetro DNS, DHCP, and Update Agents.
Note: Micetro does not automatically
maintain log files for the agents. The files are rotated every day and a datestamp is
added to the file name, for example, mmremote.2026-07-28.log;
however, there is no option to specify the maximum number of files or maximum file size.
When old files are no longer needed, you must manually purge them from your
drive.
DNS Agent
- Open the /var/mmsuite/dns_server_controller/preferences.cfg file.
- Add/edit the following
values:
<LogLevel value="7" /> <LogDestination value="3" /> <LogFileName value="/var/mmsuite/dns_server_controller/logs/mmremote.log />Edit the directory path as needed. If the directory doesn't exist yet, it will be created.
- After one (1) minute, the new preferences.cfg file will be
logged, so restarting the DNS Agent is not necessary. However, you can manually
restart the agent using the following
command:
systemctl restart mmremote
DHCP Agent
- Open the /var/mmsuite/dhcp_server_controller/preferences.cfg file.
- Add/edit the following
values:
<LogLevel value="7" /> <LogDestination value="3" /> <LogFileName value="/var/mmsuite/dhcp_server_controller/logs/mmdhcpremote.log />Edit the directory path as needed. If the directory doesn't exist yet, it will be created.
- After one (1) minute, the new preferences.cfg file will be
logged, so restarting the DHCP Agent is not necessary. However, you can manually
restart the agent using the following
command:
systemctl restart mmdhcpremote
Update Agent
- Open the var/mmsuite/updater/preferences.cfg file.
- Add/edit the following
values:
<LogLevel value="7" /> <LogDestination value="3" /> <LogFileName value="/var/mmsuite/updater/logs/mmupdater.log /> - After one (1) minute, the new preferences.cfg file will be
logged, so restarting the Update Agent is not necessary. However, you can
manually restart the agent using the following
command:
systemctl restart mmupdater
Disabling logging for the Micetro Agents
To disable logging for the Micetro DNS, DHCP, and/or Update Agent, remove the following XML tags from the respective preferences.cfg files:
LogLevelLogDestinationLogFileName