Logs
Agent
The Infection Monkey Agent log file can be found in directories specified for temporary files on the machines where it was executed. In most cases, this will be /tmp
on Linux and %temp%
on Windows. The Agent searches a standard list of directories to find an appropriate place to store the log:
- The directory named by the
TMPDIR
environment variable. - The directory named by the
TEMP
environment variable. - The directory named by the
TMP
environment variable. - A platform-specific location:
- On Windows, the directories
C:\TEMP
,C:\TMP
,\TEMP
, and\TMP
, in that order. - On all other platforms, the directories
/tmp
,/var/tmp
, and/usr/tmp
, in that order.
- On Windows, the directories
- As a last resort, the current working directory (i.e. the directory from
which the Agent was launched).
The Infection Monkey log file name is constructed according to the following pattern: infection-monkey-agent-<TIMESTAMP>-<RANDOM_STRING>.log
Island
The Monkey Island's log file is named monkey_island.log
and is located in the data directory. This log shows the requests sent to the Monkey Island server, as well as details about how data is processed.
Next generation UI (development only)
The Monkey Island's UI produces a log file named nextjs.log
located in thedata directory. This log contains the output of the server process hosting the web interface.
MongoDB
MongoDB's log file is named mongodb.log
and is located in the data directory.
See also
Updated 5 months ago