summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/capture_view.html
blob: 1ab7c851af8b90b18b5a9fb8b53992a423a10658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div id=capture-view-tab-content>
  <h2>Capture options</h2>
  <input id=capture-view-byte-logging-checkbox type=checkbox />
  <label for='capture-view-byte-logging-checkbox'>
    Include the actual bytes sent/received.
    <i>(This will result in huge log files, and can expose sensitive data)</i>
  </label>

  <ul>
    <li>
    <b>TIP</b>: <a href="#" id=capture-view-tip-anchor>logging from the command line</a>.

    <div style="display:none; margin-top: 10px" id=capture-view-tip-div>
      Another way to capture network events is by using the command line flag:
      <blockquote>
        --log-net-log=<i>FILENAME</i> [ --net-log-level=<i>NUMBER</i> ]
      </blockquote>
      This will stream the network events directly to a file of your choosing. If you additionally want it to log the network bytes, then pass --net-log-level=0.
    </div>

    </li>
  </ul>

</div>