Skip to content

Commit 7be8f80

Browse files
committed
Update log rate limiting docs
- Clarify that log rate limits can be specified on tasks as well as apps - Remove unused reference to log-cache plugin from firehose plug-in example
1 parent 9a383d1 commit 7be8f80

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

app-log-rate-limits.html.md.erb

+6-12
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ its cache in order to store large volumes of logs.
1717

1818
* Limit the CPU usage of logging agents on the Diego Cell VM.
1919

20-
You can allow log rate limits on a per-app basis in bytes per second.
20+
You can define log rate limits on a per-app basis in bytes per second.
2121

2222
## <a id='overview-byte-limit'></a> App log rate limiting in bytes per second
2323

2424
In <%= vars.app_runtime_abbr %>, you can limit the number of bytes each app instance can generate per second.
2525

26-
You can configure app log rate limiting in bytes per second on a per-app basis through either the app manifest or the cf CLI. Additionally, you can enforce
27-
the log rate limit you configure for all apps that are deployed within a space or org by specifying the log rate limit in the quota plan for the space or org.
26+
You can configure app log rate limiting in bytes per second on a per-app and per-task basis through the cf CLI. Log rate limits can also be
27+
defined for apps in the application manifest. Additionally, you can enforce the log rate limit you configure for all apps that are deployed
28+
within a space or org by specifying the log rate limit in the quota plan for the space or org.
2829
<% if vars.platform_code != "OFFLINE" %>For more information, see [Creating and Modifying Quota Plans](../adminguide/quota-plans.html).<% end %>
2930

3031
## <a id='determine-limit'></a> Determining the ideal app log rate limit
@@ -88,23 +89,16 @@ appears in the log stream for the noisy app:
8889
2022-08-22T12:42:18.90-0800 [APP/PROC/WEB/0] OUT app instance exceeded log rate limit (1024 bytes/sec)
8990
</pre>
9091

91-
To identify which app instances are exceeding the app log rate limit:
92+
To identify which app instances are exceeding the app log rate limit, you can search through application logs for the string "app instance exceeded log rate limit".
9293

93-
<p> The Firehose and Log Cache plug-ins are developed by the open-source Cloud Foundry community and are not supported by
94-
VMware.</p>
94+
One way to do this across all applications is by using the Firehose cf CLI plug-in.
9595

9696
1. In a terminal window, install the Firehose plug-in by running:
9797

9898
```
9999
cf install-plugin 'Firehose Plugin'
100100
```
101101

102-
1. Install the Log Cache plug-in by running:
103-
104-
```
105-
cf install-plugin 'log-cache'
106-
```
107-
108102
1. Filter your app log messages by running:
109103

110104
```

0 commit comments

Comments
 (0)