Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: chrome/browser/resources/net_internals/capture_view.html

Issue 9585027: Limit the number of captured events held by about:net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase off trunk again Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <div id=capture-view-tab-content class=content-box> 1 <div id=capture-view-tab-content class=content-box>
2 <h2>Capture options</h2> 2 <h2>Capture options</h2>
3
4 <input id=capture-view-limit-checkbox type=checkbox />
5 <label for='capture-view-limit-checkbox'
6 title='If you capture all events for a long time, it is possible to exh aust memory and crash. Throwing out older data avoids this problem.'>
7 Discard old data under memory pressure.
8 </label>
9
10 <br/>
11
3 <input id=capture-view-byte-logging-checkbox type=checkbox /> 12 <input id=capture-view-byte-logging-checkbox type=checkbox />
4 <label for='capture-view-byte-logging-checkbox'> 13 <label for='capture-view-byte-logging-checkbox'
14 title='This will result in huge log files, and can expose sensitive dat a'>
mmenke 2012/03/06 15:21:18 I don't think titles are sufficiently visible for
eroman 2012/03/06 17:14:14 Restored to italic. Here is what it looks like: ht
5 Include the actual bytes sent/received. 15 Include the actual bytes sent/received.
6 <i>(This will result in huge log files, and can expose sensitive data)</i>
7 </label> 16 </label>
8 17
9 <ul> 18 <ul>
10 <li> 19 <li>
11 <b>TIP</b>: <a href="#" id=capture-view-tip-anchor>logging from the command line</a>. 20 <b>TIP</b>: <a href="#" id=capture-view-tip-anchor>logging from the command line</a>.
12 21
13 <div style="display:none; margin-top: 10px" id=capture-view-tip-div> 22 <div style="display:none; margin-top: 10px" id=capture-view-tip-div>
14 Another way to capture network events is by using the command line flag: 23 Another way to capture network events is by using the command line flag:
15 <blockquote> 24 <blockquote>
16 --log-net-log=<i>FILENAME</i> [ --net-log-level=<i>NUMBER</i> ] 25 --log-net-log=<i>FILENAME</i> [ --net-log-level=<i>NUMBER</i> ]
17 </blockquote> 26 </blockquote>
18 This will stream the network events directly to a file of your choosing. I f you additionally want it to log the network bytes, then pass --net-log-level=0 . 27 This will stream the network events directly to a file of your choosing. I f you additionally want it to log the network bytes, then pass --net-log-level=0 .
19 </div> 28 </div>
20 29
21 </li> 30 </li>
22 </ul> 31 </ul>
23 32
24 </div> 33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698