-
Notifications
You must be signed in to change notification settings - Fork 10
v3.6 General Output
Mongoose uses the Apache Log4J2 library to handle the overwhelming majority of its output due to high performance capabilities.
The Log4J2 configuration is bundled into the mongoose-ui.jar
resources as log4j2.json
file and
is not designated to be changed by user since v3.5. Also the log4j2.component.properties
file
bundled into that jar to specify the additional options tuning the logging subsystem performance.
Console output is slightly colored by default for better readability.
To disable the console output coloring set the output-color
configuration option to "false".
The most of log messages are written to the output files using dynamic output file path:
<MONGOOSE_DIR>/log/<STEP_ID>/...
where "STEP_ID" may change during runtime.
The CLI arguments are logged once per run into the cli.args.log
log
file.
The configuration (defaults after the CLI arguments applied) is logged
once per run into the config.json
log file.
The scenario used for the test is logged once per run into the
scenario.json
log file.
The log messages from the 3rd party components (dependency libraries) are intercepted and logged
into the 3rdparty.log
file with the dynamic path. Logging level: "INFO".
- Error messages with level "INFO" or higher are displayed on the console with orange color.
- Error messages with level "DEBUG" or higher are written to the file
errors.log
with the dynamic path
- Info messages with level "INFO" or higher are displayed on the console with grey color.
- Info messages with level "DEBUG" or higher are written to the file
messages.log
with the dynamic path
S3-specific multipart upload identifiers log file parts.upload.csv
with the dynamic path.
Contains the comma-separated records with:
- Full Item Path.
- Upload Id.
- Multipart upload completion response latency.
To persist the info about the items processed by a load step the items output file should be used.
java -jar <MONGOOSE_DIR>/mongoose.jar --test-step-limit-count=1000 --item-output-file=items.csv
In the example above the info about 1000 items processed by the load step will be persisted in the
items.csv
output file.
The items list file may be useful if it's needed to perform another load step using these items:
java -jar <MONGOOSE_DIR>/mongoose.jar --read --item-input-file=items.csv
Items list file contains the CSV records each occupying a line. Each record contains comma-separated values which are:
- Full Item Path
- Data ring buffer offset (hexadecimal)
- Size (decimal)
- A pair of layer/mask values separated with "/" character
- Overview
- Deployment
- User Guide
- Troubleshooting
- Reference