This file is indexed.

/usr/share/doc/swift-doc/html/logs.html is in swift-doc 2.17.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>

    <title>OpenStack Docs: Logs</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Bootstrap CSS -->
<link href="_static/css/bootstrap.min.css" rel="stylesheet">

<!-- Pygments CSS -->
<link href="_static/css/native.css" rel="stylesheet">

<!-- Fonts -->
<link href="_static/css/font-awesome.min.css" rel="stylesheet">

<!-- Custom CSS -->
<link href="_static/css/combined.css" rel="stylesheet">
  

  </head>
  <body>

<!-- SOURCE_FILE: https://git.openstack.org/cgit/openstack/swift/tree/doc/source/logs.rst -->

 <script type="text/javascript">
    (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
                (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
        e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
    })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');

    _st('install','aDn5L_vgZ2yzRcE893kK','2.0.0');
</script>
<nav class="navbar navbar-default" role="navigation">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button class="navbar-toggle" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <div class="brand-wrapper">
        <a class="navbar-brand" href="index.html"></a>
      </div>
    </div>
  </div>
  <!-- /.container -->
</nav>
    <div class="container docs-book-wrapper">
      <div class="row">
        <div class="col-lg-9 col-md-8 col-sm-8 col-lg-push-3 col-md-push-4 col-sm-push-4">
<div class="row">
  <div class="col-lg-8">
      <h2>Logs</h2>
    
  </div>
  <div class="docs-actions">
    
    <a href="replication_network.html"><i class="fa fa-angle-double-left" data-toggle="tooltip" data-placement="top" title="Previous: Dedicated replication network"></i></a>
    
    
    <a href="ops_runbook/index.html"><i class="fa fa-angle-double-right" data-toggle="tooltip" data-placement="top" title="Next: Swift Ops Runbook"></i></a>
    
    <a id="logABugLink1" href="" target="_blank" title="Found an error? Report a bug against this page"><i class="fa fa-bug" data-toggle="tooltip" data-placement="top" title="Report a Bug"></i></a>
    
  </div>
</div>
          <div class="row docs-byline">
            <div class="docs-updated">updated: 2018-02-14 14:24</div>
          </div>
          <div class="row">
            <div class="col-lg-12">
              <div class="docs-body">

  <div class="section" id="logs">
<h1>Logs<a class="headerlink" href="#logs" title="Permalink to this headline"></a></h1>
<p>Swift has quite verbose logging, and the generated logs can be used for
cluster monitoring, utilization calculations, audit records, and more. As an
overview, Swift’s logs are sent to syslog and organized by log level and
syslog facility. All log lines related to the same request have the same
transaction id. This page documents the log formats used in the system.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">By default, Swift will log full log lines. However, with the
<code class="docutils literal"><span class="pre">log_max_line_length</span></code> setting and depending on your logging server
software, lines may be truncated or shortened. With <code class="docutils literal"><span class="pre">log_max_line_length</span> <span class="pre">&lt;</span>
<span class="pre">7</span></code>, the log line will be truncated. With <code class="docutils literal"><span class="pre">log_max_line_length</span> <span class="pre">&gt;=</span> <span class="pre">7</span></code>, the
log line will be “shortened”: about half the max length followed by ” … ”
followed by the other half the max length. Unless you use exceptionally
short values, you are unlikely to run across this with the following
documented log lines, but you may see it with debugging and error log
lines.</p>
</div>
<div class="section" id="proxy-logs">
<h2>Proxy Logs<a class="headerlink" href="#proxy-logs" title="Permalink to this headline"></a></h2>
<p>The proxy logs contain the record of all external API requests made to the
proxy server. Swift’s proxy servers log requests using a custom format
designed to provide robust information and simple processing. The log format
is:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">client_ip</span> <span class="n">remote_addr</span> <span class="n">datetime</span> <span class="n">request_method</span> <span class="n">request_path</span> <span class="n">protocol</span>
    <span class="n">status_int</span> <span class="n">referer</span> <span class="n">user_agent</span> <span class="n">auth_token</span> <span class="n">bytes_recvd</span> <span class="n">bytes_sent</span>
    <span class="n">client_etag</span> <span class="n">transaction_id</span> <span class="n">headers</span> <span class="n">request_time</span> <span class="n">source</span> <span class="n">log_info</span>
    <span class="n">request_start_time</span> <span class="n">request_end_time</span> <span class="n">policy_index</span>
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="75%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><strong>Log Field</strong></td>
<td><strong>Value</strong></td>
</tr>
<tr class="row-even"><td>client_ip</td>
<td>Swift’s guess at the end-client IP, taken from various
headers in the request.</td>
</tr>
<tr class="row-odd"><td>remote_addr</td>
<td>The IP address of the other end of the TCP connection.</td>
</tr>
<tr class="row-even"><td>datetime</td>
<td>Timestamp of the request, in
day/month/year/hour/minute/second format.</td>
</tr>
<tr class="row-odd"><td>request_method</td>
<td>The HTTP verb in the request.</td>
</tr>
<tr class="row-even"><td>request_path</td>
<td>The path portion of the request.</td>
</tr>
<tr class="row-odd"><td>protocol</td>
<td>The transport protocol used (currently one of http or
https).</td>
</tr>
<tr class="row-even"><td>status_int</td>
<td>The response code for the request.</td>
</tr>
<tr class="row-odd"><td>referer</td>
<td>The value of the HTTP Referer header.</td>
</tr>
<tr class="row-even"><td>user_agent</td>
<td>The value of the HTTP User-Agent header.</td>
</tr>
<tr class="row-odd"><td>auth_token</td>
<td>The value of the auth token. This may be truncated or
otherwise obscured.</td>
</tr>
<tr class="row-even"><td>bytes_recvd</td>
<td>The number of bytes read from the client for this request.</td>
</tr>
<tr class="row-odd"><td>bytes_sent</td>
<td>The number of bytes sent to the client in the body of the
response. This is how many bytes were yielded to the WSGI
server.</td>
</tr>
<tr class="row-even"><td>client_etag</td>
<td>The etag header value given by the client.</td>
</tr>
<tr class="row-odd"><td>transaction_id</td>
<td>The transaction id of the request.</td>
</tr>
<tr class="row-even"><td>headers</td>
<td>The headers given in the request.</td>
</tr>
<tr class="row-odd"><td>request_time</td>
<td>The duration of the request.</td>
</tr>
<tr class="row-even"><td>source</td>
<td>The “source” of the request. This may be set for requests
that are generated in order to fulfill client requests,
e.g. bulk uploads.</td>
</tr>
<tr class="row-odd"><td>log_info</td>
<td>Various info that may be useful for diagnostics, e.g. the
value of any x-delete-at header.</td>
</tr>
<tr class="row-even"><td>request_start_time</td>
<td>High-resolution timestamp from the start of the request.</td>
</tr>
<tr class="row-odd"><td>request_end_time</td>
<td>High-resolution timestamp from the end of the request.</td>
</tr>
<tr class="row-even"><td>policy_index</td>
<td>The value of the storage policy index.</td>
</tr>
</tbody>
</table>
<p>In one log line, all of the above fields are space-separated and url-encoded.
If any value is empty, it will be logged as a “-“. This allows for simple
parsing by splitting each line on whitespace. New values may be placed at the
end of the log line from time to time, but the order of the existing values
will not change. Swift log processing utilities should look for the first N
fields they require (e.g. in Python using something like
<code class="docutils literal"><span class="pre">log_line.split()[:14]</span></code> to get up through the transaction id).</p>
<div class="section" id="swift-source">
<h3>Swift Source<a class="headerlink" href="#swift-source" title="Permalink to this headline"></a></h3>
<p>The <code class="docutils literal"><span class="pre">source</span></code> value in the proxy logs is used to identify the originator of a
request in the system. For example, if the client initiates a bulk upload, the
proxy server may end up doing many requests. The initial bulk upload request
will be logged as normal, but all of the internal “child requests” will have a
source value indicating they came from the bulk functionality.</p>
<table border="1" class="docutils">
<colgroup>
<col width="44%" />
<col width="56%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><strong>Logged Source Value</strong></td>
<td><strong>Originator of the Request</strong></td>
</tr>
<tr class="row-even"><td>FP</td>
<td><a class="reference internal" href="middleware.html#formpost"><span class="std std-ref">FormPost</span></a></td>
</tr>
<tr class="row-odd"><td>SLO</td>
<td><a class="reference internal" href="overview_large_objects.html#static-large-objects"><span class="std std-ref">Static Large Objects</span></a></td>
</tr>
<tr class="row-even"><td>SW</td>
<td><a class="reference internal" href="middleware.html#staticweb"><span class="std std-ref">StaticWeb</span></a></td>
</tr>
<tr class="row-odd"><td>TU</td>
<td><a class="reference internal" href="middleware.html#tempurl"><span class="std std-ref">TempURL</span></a></td>
</tr>
<tr class="row-even"><td>BD</td>
<td><a class="reference internal" href="middleware.html#bulk"><span class="std std-ref">Bulk Operations (Delete and Archive Auto Extraction)</span></a> (delete)</td>
</tr>
<tr class="row-odd"><td>EA</td>
<td><a class="reference internal" href="middleware.html#bulk"><span class="std std-ref">Bulk Operations (Delete and Archive Auto Extraction)</span></a> (extract)</td>
</tr>
<tr class="row-even"><td>CQ</td>
<td><a class="reference internal" href="middleware.html#container-quotas"><span class="std std-ref">Container Quotas</span></a></td>
</tr>
<tr class="row-odd"><td>CS</td>
<td><a class="reference internal" href="middleware.html#container-sync"><span class="std std-ref">Container Sync Middleware</span></a></td>
</tr>
<tr class="row-even"><td>TA</td>
<td><a class="reference internal" href="middleware.html#common-tempauth"><span class="std std-ref">TempAuth</span></a></td>
</tr>
<tr class="row-odd"><td>DLO</td>
<td><a class="reference internal" href="overview_large_objects.html#dynamic-large-objects"><span class="std std-ref">Dynamic Large Objects</span></a></td>
</tr>
<tr class="row-even"><td>LE</td>
<td><a class="reference internal" href="middleware.html#list-endpoints"><span class="std std-ref">List Endpoints</span></a></td>
</tr>
<tr class="row-odd"><td>KS</td>
<td><a class="reference internal" href="middleware.html#keystoneauth"><span class="std std-ref">KeystoneAuth</span></a></td>
</tr>
<tr class="row-even"><td>RL</td>
<td><a class="reference internal" href="ratelimit.html#ratelimit"><span class="std std-ref">Rate Limiting</span></a></td>
</tr>
<tr class="row-odd"><td>VW</td>
<td><a class="reference internal" href="middleware.html#versioned-writes"><span class="std std-ref">Object Versioning</span></a></td>
</tr>
<tr class="row-even"><td>SSC</td>
<td><a class="reference internal" href="middleware.html#copy"><span class="std std-ref">Server Side Copy</span></a></td>
</tr>
<tr class="row-odd"><td>SYM</td>
<td><a class="reference internal" href="middleware.html#symlink"><span class="std std-ref">Symlink</span></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="storage-node-logs">
<h2>Storage Node Logs<a class="headerlink" href="#storage-node-logs" title="Permalink to this headline"></a></h2>
<p>Swift’s account, container, and object server processes each log requests
that they receive, if they have been configured to do so with the
<code class="docutils literal"><span class="pre">log_requests</span></code> config parameter (which defaults to true). The format for
these log lines is:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">remote_addr</span> <span class="o">-</span> <span class="o">-</span> <span class="p">[</span><span class="n">datetime</span><span class="p">]</span> <span class="s2">&quot;request_method request_path&quot;</span> <span class="n">status_int</span>
    <span class="n">content_length</span> <span class="s2">&quot;referer&quot;</span> <span class="s2">&quot;transaction_id&quot;</span> <span class="s2">&quot;user_agent&quot;</span> <span class="n">request_time</span>
    <span class="n">additional_info</span> <span class="n">server_pid</span> <span class="n">policy_index</span>
</pre></div>
</div>
<table border="1" class="docutils">
<colgroup>
<col width="25%" />
<col width="75%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><strong>Log Field</strong></td>
<td><strong>Value</strong></td>
</tr>
<tr class="row-even"><td>remote_addr</td>
<td>The IP address of the other end of the TCP connection.</td>
</tr>
<tr class="row-odd"><td>datetime</td>
<td>Timestamp of the request, in
“day/month/year:hour:minute:second +0000” format.</td>
</tr>
<tr class="row-even"><td>request_method</td>
<td>The HTTP verb in the request.</td>
</tr>
<tr class="row-odd"><td>request_path</td>
<td>The path portion of the request.</td>
</tr>
<tr class="row-even"><td>status_int</td>
<td>The response code for the request.</td>
</tr>
<tr class="row-odd"><td>content_length</td>
<td>The value of the Content-Length header in the response.</td>
</tr>
<tr class="row-even"><td>referer</td>
<td>The value of the HTTP Referer header.</td>
</tr>
<tr class="row-odd"><td>transaction_id</td>
<td>The transaction id of the request.</td>
</tr>
<tr class="row-even"><td>user_agent</td>
<td>The value of the HTTP User-Agent header. Swift services
report a user-agent string of the service name followed by
the process ID, such as <code class="docutils literal"><span class="pre">&quot;proxy-server</span> <span class="pre">&lt;pid</span> <span class="pre">of</span> <span class="pre">the</span>
<span class="pre">proxy&gt;&quot;</span></code> or <code class="docutils literal"><span class="pre">&quot;object-updater</span> <span class="pre">&lt;pid</span> <span class="pre">of</span> <span class="pre">the</span> <span class="pre">object</span>
<span class="pre">updater&gt;&quot;</span></code>.</td>
</tr>
<tr class="row-odd"><td>request_time</td>
<td>The duration of the request.</td>
</tr>
<tr class="row-even"><td>additional_info</td>
<td>Additional useful information.</td>
</tr>
<tr class="row-odd"><td>server_pid</td>
<td>The process id of the server</td>
</tr>
<tr class="row-even"><td>policy_index</td>
<td>The value of the storage policy index.</td>
</tr>
</tbody>
</table>
</div>
</div>


              </div>
            </div>
          </div>
          <div class="docs-actions">
          
            <a href="replication_network.html"><i class="fa fa-angle-double-left" data-toggle="tooltip" data-placement="top" title="Previous: Dedicated replication network"></i></a>
          
          
            <a href="ops_runbook/index.html"><i class="fa fa-angle-double-right" data-toggle="tooltip" data-placement="top" title="Next: Swift Ops Runbook"></i></a>
          
            <a id="logABugLink3" href="" target="_blank" title="Found an error? Report a bug against this page"><i class="fa fa-bug" data-toggle="tooltip" data-placement="top" title="Report a Bug"></i></a>
          
          </div>
          <div class="row docs-byline bottom">
            <div class="docs-updated">updated: 2018-02-14 14:24</div>
          </div>
          <div class="row">
            <div class="col-lg-8 col-md-8 col-sm-8 docs-license">
<a href="https://creativecommons.org/licenses/by/3.0/">
 <img src="_static/images/docs/license.png" alt="Creative Commons Attribution 3.0 License"/>
</a>
<p>
 Except where otherwise noted, this document is licensed under
 <a href="https://creativecommons.org/licenses/by/3.0/">Creative Commons
 Attribution 3.0 License</a>. See all <a href="http://www.openstack.org/legal">
 OpenStack Legal Documents</a>.
</p>
            </div>
            <div class="col-lg-4 col-md-4 col-sm-4 docs-actions-wrapper">
            <!-- ID buglinkbottom added so that pre-filled doc bugs
                 are sent to Launchpad projects related to the
                 document -->
              <a href="#" id="logABugLink2" class="docs-footer-actions"><i class="fa fa-bug"></i> found an error? report a bug</a>
              <a href="http://ask.openstack.org" class="docs-footer-actions"><i class="fa fa-question-circle"></i> questions?</a>
            </div>
          </div>
        </div>
<div class="col-lg-3 col-md-4 col-sm-4 col-lg-pull-9 col-md-pull-8 col-sm-pull-8 docs-sidebar">
  <div class="btn-group docs-sidebar-releases">
    <button onclick="location.href='/'" class="btn docs-sidebar-home" data-toggle="tooltip" data-placement="top" title="Docs Home"><i class="fa fa-arrow-circle-o-left"></i></button>
<button href="#" type="button" data-toggle="dropdown" class="btn docs-sidebar-release-select">OpenStack Documentation<i class="fa fa-caret-down"></i></button>
    <ul class="dropdown-menu docs-sidebar-dropdown" role="menu" aria-labelledby="dLabel">
      <li role="presentation" class="dropdown-header">Guides</li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/index.html#install-guides">Install Guides</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/index.html#user-guides">User Guides</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/index.html#configuration-guides">Configuration Guides</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/index.html#ops-and-admin-guides">Operations and Administration Guides</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/index.html#api-guides">API Guides</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/index.html#contributor-guides">Contributor Guides</a></li>
      <li role="presentation" class="dropdown-header">Languages</li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/de/">Deutsch (German)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/fr/">Français (French)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/id/">Bahasa Indonesia (Indonesian)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/it/">Italiano (Italian)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/ja/">日本語 (Japanese)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/ko_KR/">한국어 (Korean)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/pt_BR/">Português (Portuguese)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/tr_TR/">Türkçe (Türkiye)</a></li>
      <li role="presentation"><a role="menuitem" tabindex="-1" href="http://docs.openstack.org/zh_CN/">简体中文 (Simplified Chinese)</a></li>
    </ul>
  </div>
  <div class="docs-sidebar-toc">
    <div class="docs-sidebar-section" id="table-of-contents">
      <a href="index.html" class="docs-sidebar-section-title"><h4>Swift 2.17</h4></a>
      <ul>
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="api/object_api_v1_overview.html">Object Storage API overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_architecture.html">Swift Architectural Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_ring.html">The Rings</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_policies.html">Storage Policies</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_reaper.html">The Account Reaper</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_auth.html">The Auth System</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_acl.html">Access Control Lists (ACLs)</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_replication.html">Replication</a></li>
<li class="toctree-l1"><a class="reference internal" href="ratelimit.html">Rate Limiting</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_large_objects.html">Large Object Support</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_object_versioning.html">Object Versioning</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_global_cluster.html">Global Clusters</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_container_sync.html">Container to Container Synchronization</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_expiring_objects.html">Expiring Object Support</a></li>
<li class="toctree-l1"><a class="reference internal" href="cors.html">CORS</a></li>
<li class="toctree-l1"><a class="reference internal" href="crossdomain.html">Cross-domain Policy File</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_erasure_code.html">Erasure Code Support</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_encryption.html">Object Encryption</a></li>
<li class="toctree-l1"><a class="reference internal" href="overview_backing_store.html">Using Swift as Backing Store for Service Data</a></li>
<li class="toctree-l1"><a class="reference internal" href="ring_background.html">Building a Consistent Hashing Ring</a></li>
<li class="toctree-l1"><a class="reference internal" href="ring_partpower.html">Modifying Ring Partition Power</a></li>
<li class="toctree-l1"><a class="reference internal" href="associated_projects.html">Associated Projects</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="development_guidelines.html">Development Guidelines</a></li>
<li class="toctree-l1"><a class="reference internal" href="development_saio.html">SAIO - Swift All In One</a></li>
<li class="toctree-l1"><a class="reference internal" href="first_contribution_swift.html">First Contribution to Swift</a></li>
<li class="toctree-l1"><a class="reference internal" href="policies_saio.html">Adding Storage Policies to an Existing SAIO</a></li>
<li class="toctree-l1"><a class="reference internal" href="development_auth.html">Auth Server and Middleware</a></li>
<li class="toctree-l1"><a class="reference internal" href="development_middleware.html">Middleware and Metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="development_ondisk_backends.html">Pluggable On-Disk Back-end APIs</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="howto_installmultinode.html">Instructions for a Multiple Server Swift Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment_guide.html">Deployment Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="apache_deployment_guide.html">Apache Deployment Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="admin_guide.html">Administrator’s Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="replication_network.html">Dedicated replication network</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Logs</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#proxy-logs">Proxy Logs</a></li>
<li class="toctree-l2"><a class="reference internal" href="#storage-node-logs">Storage Node Logs</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="ops_runbook/index.html">Swift Ops Runbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="admin/index.html">OpenStack Swift Administrator Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="install/index.html">Object Storage Install Guide</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="api/object_api_v1_overview.html">Object Storage API overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/discoverability.html">Discoverability</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/authentication.html">Authentication</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/container_quotas.html">Container quotas</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/object_versioning.html">Object versioning</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/large_objects.html">Large objects</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/temporary_url_middleware.html">Temporary URL middleware</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/form_post_middleware.html">Form POST middleware</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/use_content-encoding_metadata.html">Use Content-Encoding metadata</a></li>
<li class="toctree-l1"><a class="reference internal" href="api/use_the_content-disposition_metadata.html">Use the Content-Disposition metadata</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="ring.html">Partitioned Consistent Hash Ring</a></li>
<li class="toctree-l1"><a class="reference internal" href="proxy.html">Proxy</a></li>
<li class="toctree-l1"><a class="reference internal" href="account.html">Account</a></li>
<li class="toctree-l1"><a class="reference internal" href="container.html">Container</a></li>
<li class="toctree-l1"><a class="reference internal" href="db.html">Account DB and Container DB</a></li>
<li class="toctree-l1"><a class="reference internal" href="object.html">Object</a></li>
<li class="toctree-l1"><a class="reference internal" href="misc.html">Misc</a></li>
<li class="toctree-l1"><a class="reference internal" href="middleware.html">Middleware</a></li>
</ul>

    </div>

  <div class="docs-sidebar-toc">
    <div class="docs-sidebar-section" id="local-table-of-contents">
      <h4 class="docs-sidebar-section-title">Page Contents</h4>
      <ul>
<li><a class="reference internal" href="#">Logs</a><ul>
<li><a class="reference internal" href="#proxy-logs">Proxy Logs</a><ul>
<li><a class="reference internal" href="#swift-source">Swift Source</a></li>
</ul>
</li>
<li><a class="reference internal" href="#storage-node-logs">Storage Node Logs</a></li>
</ul>
</li>
</ul>

    </div>
  </div>
  </div>
</div>
      </div>
    </div>
<footer>
  <div class="container">
    <div class="row footer-links">
      <div class="col-lg-2 col-sm-2">
        <h3>OpenStack</h3>
        <ul>
          <li><a href="http://openstack.org/projects/">Projects</a></li>
          <li><a href="http://openstack.org/projects/openstack-security/">OpenStack Security</a></li>
          <li><a href="http://openstack.org/projects/openstack-faq/">Common Questions</a></li>
          <li><a href="http://openstack.org/blog/">Blog</a></li>
          <li><a href="http://openstack.org/news/">News</a></li>
        </ul>
      </div>
      <div class="col-lg-2 col-sm-2">
        <h3>Community</h3>
        <ul>
          <li><a href="http://openstack.org/community/">User Groups</a></li>
          <li><a href="http://openstack.org/community/events/">Events</a></li>
          <li><a href="http://openstack.org/community/jobs/">Jobs</a></li>
          <li><a href="http://openstack.org/foundation/companies/">Companies</a></li>
          <li><a href="http://docs.openstack.org/infra/manual/developers.html">Contribute</a></li>
        </ul>
      </div>
      <div class="col-lg-2 col-sm-2">
        <h3>Documentation</h3>
        <ul>
          <li><a href="http://docs.openstack.org">OpenStack Manuals</a></li>
          <li><a href="http://openstack.org/software/start/">Getting Started</a></li>
          <li><a href="http://developer.openstack.org">API Documentation</a></li>
          <li><a href="https://wiki.openstack.org">Wiki</a></li>
        </ul>
      </div>
      <div class="col-lg-2 col-sm-2">
        <h3>Branding & Legal</h3>
        <ul>
          <li><a href="http://openstack.org/brand/">Logos & Guidelines</a></li>
          <li><a href="http://openstack.org/brand/openstack-trademark-policy/">Trademark Policy</a></li>
          <li><a href="http://openstack.org/privacy/">Privacy Policy</a></li>
          <li><a href="https://wiki.openstack.org/wiki/How_To_Contribute#Contributor_License_Agreement">OpenStack CLA</a></li>
        </ul>
      </div>
      <div class="col-lg-4 col-sm-4">
        <h3>Stay In Touch</h3>
        <a href="https://twitter.com/OpenStack" target="_blank" class="social-icons footer-twitter"></a>
        <a href="https://www.facebook.com/openstack" target="_blank" class="social-icons footer-facebook"></a>
        <a href="https://www.linkedin.com/company/openstack" target="_blank" class="social-icons footer-linkedin"></a>
        <a href="https://www.youtube.com/user/OpenStackFoundation" target="_blank" class="social-icons footer-youtube"></a>
        <p class="fine-print">
          The OpenStack project is provided under the
          <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 license</a>. Openstack.org is powered by
          <a href="http://rackspace.com" target="_blank">Rackspace Cloud Computing</a>.
        </p>
      </div>
    </div>
  </div>
</footer>
<!-- jQuery -->
<script type="text/javascript" src="_static/js/jquery-3.2.1.min.js"></script>

<!-- Bootstrap JavaScript -->
<script type="text/javascript" src="_static/js/bootstrap.min.js"></script>

<!-- The rest of the JS -->
<script type="text/javascript" src="_static/js/navigation.js"></script>

<!-- Docs JS -->
<script type="text/javascript" src="_static/js/docs.js"></script>

<!-- Popovers -->
<script type="text/javascript" src="_static/js/webui-popover.js"></script>

<!-- standard sphinx include libraries, which allow search highlighting -->
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/searchtools.js"></script>

<script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2.17',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        SOURCELINK_SUFFIX: '.txt',
        HAS_SOURCE:  true
      };
</script>


<!-- Javascript for page -->
<script language="JavaScript">
/* build a description of this page including SHA, source location on git repo,
   build time and the project's launchpad bug tag. Set the HREF of the bug
   buttons */

    var lineFeed = "%0A";
    var gitURL = "Source: Can't derive source file URL";

    /* there have been cases where "pagename" wasn't set; better check for it */
        /* The URL of the source file on Git is based on the giturl variable
           in conf.py, which must be manually initialized to the source file
           URL in Git.
           "pagename" is a standard sphinx parameter containing the name of
           the source file, without extension.                             */

        var sourceFile = "logs" + ".rst";
        gitURL = "Source: https://git.openstack.org/cgit/openstack/swift/tree/doc/source" + "/" + sourceFile;

    /* gitsha, project and bug_tag rely on variables in conf.py */
    var gitSha = "SHA: unknown";
        var bugProject = "swift";
        var bugTitle = "Logs in Swift";
    var fieldTags = "";
        var useStoryboard = "";


    /* "last_updated" is the build date and time. It relies on the
       conf.py variable "html_last_updated_fmt", which should include
       year/month/day as well as hours and minutes                   */
    var buildstring = "Release: 2.17.0 on 2018-02-14 14:24";

    var fieldComment = encodeURI(buildstring) +
                       lineFeed + encodeURI(gitSha) +
                       lineFeed + encodeURI(gitURL) ;

    logABug(bugTitle, bugProject, fieldComment, fieldTags);
</script>

  </body>
</html>