<logger message="The payload is: #[payload]" level="INFO" doc:name="Logger"/>
Linux 4.14.97-74.72.amzn1.x86_64 (localhost.localdomain) 03/06/2019 _x86_64_ (1 CPU) 01:16:01 AM CPU %user %nice %system %iowait %steal %idle 01:17:01 AM all 87.25 0.00 1.00 0.02 0.02 11.71 01:18:01 AM all 99.38 0.00 0.53 0.05 0.03 0.00 01:19:02 AM all 98.97 0.00 0.85 0.03 0.05 0.10 01:20:01 AM all 99.26 0.00 0.69 0.05 0.00 0.00 01:21:01 AM all 99.37 0.00 0.60 0.00 0.03 0.00 01:22:01 AM all 99.43 0.00 0.47 0.07 0.03 0.00 01:23:01 AM all 59.00 0.00 0.30 0.03 0.02 40.65 01:24:01 AM all 1.21 0.00 0.24 0.02 0.05 98.49 01:25:01 AM all 1.53 0.00 0.39 0.27 0.05 97.77 01:26:01 AM all 1.36 0.00 0.27 0.05 0.05 98.27 01:27:01 AM all 1.58 0.00 0.22 0.45 0.29 97.46 01:28:01 AM all 1.12 0.00 0.20 0.27 0.10 98.31 01:29:01 AM all 1.88 0.00 0.18 0.82 0.20 96.91 Average: all 50.23 0.00 0.46 0.16 0.07 49.07
Linux 4.14.97-74.72.amzn1.x86_64 (localhost.localdomain) 03/06/2019 _x86_64_ (1 CPU) 01:16:01 AM tps rtps wtps bread/s bwrtn/s 01:17:01 AM 44.49 20.59 23.89 622.86 5472.04 01:18:01 AM 24.66 12.63 12.03 342.95 2508.24 01:19:02 AM 60.13 50.27 9.86 5896.72 1977.83 01:20:01 AM 25.51 12.86 12.64 579.69 2738.25 01:21:01 AM 27.54 15.07 12.47 508.24 2693.89 01:22:01 AM 34.42 21.19 13.23 583.20 2864.61 01:23:01 AM 9.03 7.34 1.69 213.45 233.79 01:24:01 AM 1.18 0.52 0.66 17.09 8.34 01:25:01 AM 12.11 11.43 0.69 412.75 9.80 01:26:01 AM 3.06 2.27 0.79 88.78 11.17 01:27:01 AM 18.21 17.33 0.87 536.78 15.32 01:28:01 AM 12.41 11.41 1.01 438.13 16.49 01:29:01 AM 33.41 31.75 1.66 1290.51 106.16 01:30:01 AM 9.23 8.46 0.77 462.00 13.85 Average: 22.57 15.96 6.61 859.02 1337.93The verbose payload logging was turned ON from "01:17:01 AM" to "01:23:01 AM" and turned OFF thereafter.
for i in {1..150000}; do curl -X GET http://<APP_NAME>/log & sleep $(echo $RANDOM %1 + 0.3 | bc ); done
You can vary the delay between requests by changing the highlighted coefficient of 0.3 sec. Setting it lower, the CPU and IO impact will grow. Setting it higher, the resource utilization will drop when full payload is logged. Beware, the application, deployed to 0.1 vCore worker may crash if the rate is too high. com.mulesoft.support.logging-levels-poc.debug=DEBUGRefer to the following article which explains how to change logging levels depending on the deployment type: How to enable verbose logging for different Mule Modules
001118182

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.