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 C:\ProgramData\Men and Mice\DNS Server Controller\preferences.cfg file.
- Add/edit the following
values:
<LogLevel value="7" /> <LogDestination value="3" /> <LogFileName value="C:\ProgramData\Men and Mice\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 to initiate the log.
DHCP Agent
- Open the C:\ProgramData\Men and Mice\DHCP Server Controller\preferences.cfg file.
- Add/edit the following
values:
<LogLevel value="7" /> <LogDestination value="3" /> <LogFileName value="C:\ProgramData\Men and Mice\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 to initiate the log.
Update Agent
- Open the C:\ProgramData\Men and Mice\Updater\preferences.cfg file.
- Add/edit the following
values:
<LogLevel value="7" /> <LogDestination value="3" /> <LogFileName value="C:\ProgramData\Men and Mice\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 to initiate the log.
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