exMon creates few types of log files which are by default put under C:\Program Files\exMon\Logs.

To move log file location, for example to a specific log drive, follow directions under each section.

You will need to follow these directions on each server running exMon.

 

Execution Agent

exMon writes a separate log file to disk for each execution of packages, queries, processes, object groups and reports.

To change the location of these log files follow these steps:

  • Open C:\Program Files\exMon\Bin\ExpectusConfig.config in a text editor.
  • Locate the LogFile property ending with epcmd_log.txt.
  • Change the directory to your new location making sure it still ends with epcmd_log.txt.
  • Save the file.

All new executions will save logs to the new location.

 

Execution Agent Service

All remote executions are logged in a single file, ExpectusCommandWs.xml and is by default located at C:\Program Files\Logs

To change the location of this log file follow these steps:

  • Open C:\Program Files\exMon\exMon\CommandService\log4net.config in a text editor.
  • Locate and change <file value="..." />
  • Open Services in Windows (Start > Run: Services.msc)
  • Right click exMon Command Service and select Restart.

All new remote execution will save logs to the new location.

 

exMon Administrator

exMon Administrator started on servers logs details about all errors into a single file. By default that log file is located at C:\Program Files\exMon\Logs\ExpectusAdmin.xml.

To change the location of this log file follow these steps:

  • Open C:\Program Files\exMon\Bin\log4net.config in a text editor.
  • Locate and change <file value="..." />

All exceptions will save logs to the new location.

 

exMon Portal

The exMon Portal logs all errors that occur both on the server and client. These logs are located at C:\Program Files\exMon\Logs\ExpectusPortal.xml and C:\Program Files\exMon\Logs\ExpectusPortalJavascript.xml.

To change the location of these log files follow these steps:

  • Open C:\Program Files\exMon\exMon\Portal\log4net.config in a text editor.
  • Locate and change both locations for the log files: <file value="...ExpectusPortal[Javascript].xml" />
  • Open Internet Information Services (IIS) in Windows
  • Find the website containing the exMon Application. Normally it is Default Website.
  • With the site selected click Restart in the right panel under Manage Web Site.

All errors will now use the new log files.