Rendering fixes, part 2
This commit is contained in:
parent
e8bd2f2c1c
commit
9204a64925
3 changed files with 54 additions and 62 deletions
|
@ -266,12 +266,14 @@ The `log` subsection configures the behavior of the logging system. The logging
|
||||||
system outputs everything to stdout. You can adjust the granularity and format
|
system outputs everything to stdout. You can adjust the granularity and format
|
||||||
with this configuration section.
|
with this configuration section.
|
||||||
|
|
||||||
|
```
|
||||||
log:
|
log:
|
||||||
level: debug
|
level: debug
|
||||||
formatter: text
|
formatter: text
|
||||||
fields:
|
fields:
|
||||||
service: registry
|
service: registry
|
||||||
environment: staging
|
environment: staging
|
||||||
|
```
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -280,28 +282,17 @@ with this configuration section.
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><code>level</code></td>
|
||||||
<code>level</code>
|
<td>no</td>
|
||||||
</td>
|
<td>Sets the sensitivity of logging output. Permitted values are
|
||||||
<td>
|
|
||||||
no
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
Sets the sensitivity of logging output. Permitted values are
|
|
||||||
<code>error</code>, <code>warn</code>, <code>info</code> and
|
<code>error</code>, <code>warn</code>, <code>info</code> and
|
||||||
<code>debug</code>. The default is <code>info</code>.
|
<code>debug</code>. The default is <code>info</code>.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td><code>formatter</code></td>
|
||||||
<code>formatter</code>
|
<td>no</td>
|
||||||
</td>
|
<td>This selects the format of logging output. The format primarily affects how keyed attributes for a log line are encoded. Options are <code>text</code>, <code>json</code> or
|
||||||
<td>
|
|
||||||
no
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
This selects the format of logging output. The format primarily affects how keyed
|
|
||||||
attributes for a log line are encoded. Options are <code>text</code>, <code>json</code> or
|
|
||||||
<code>logstash</code>. The default is <code>text</code>.
|
<code>logstash</code>. The default is <code>text</code>.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -309,18 +300,15 @@ with this configuration section.
|
||||||
<td>
|
<td>
|
||||||
<code>fields</code>
|
<code>fields</code>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>no</td>
|
||||||
no
|
<td>A map of field names to values. These are added to every log line for the context. This is useful for identifying log messages source after being mixed in other systems.
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
A map of field names to values. These are added to every log line for
|
|
||||||
the context. This is useful for identifying log messages source after
|
|
||||||
being mixed in other systems.
|
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
## hooks
|
## hooks
|
||||||
|
|
||||||
|
```
|
||||||
hooks:
|
hooks:
|
||||||
- type: mail
|
- type: mail
|
||||||
levels:
|
levels:
|
||||||
|
@ -334,6 +322,7 @@ with this configuration section.
|
||||||
from: name@sendhost.com
|
from: name@sendhost.com
|
||||||
to:
|
to:
|
||||||
- name@receivehost.com
|
- name@receivehost.com
|
||||||
|
```
|
||||||
|
|
||||||
The `hooks` subsection configures the logging hooks' behavior. This subsection
|
The `hooks` subsection configures the logging hooks' behavior. This subsection
|
||||||
includes a sequence handler which you can use for sending mail, for example.
|
includes a sequence handler which you can use for sending mail, for example.
|
||||||
|
|
|
@ -119,6 +119,7 @@ image manifest based on the Content-Type returned in the HTTP response.
|
||||||
## Example Manifest List
|
## Example Manifest List
|
||||||
|
|
||||||
*Example showing a simple manifest list pointing to image manifests for two platforms:*
|
*Example showing a simple manifest list pointing to image manifests for two platforms:*
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"schemaVersion": 2,
|
"schemaVersion": 2,
|
||||||
|
@ -227,6 +228,7 @@ image. It's the direct replacement for the schema-1 manifest.
|
||||||
## Example Image Manifest
|
## Example Image Manifest
|
||||||
|
|
||||||
*Example showing an image manifest:*
|
*Example showing an image manifest:*
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"schemaVersion": 2,
|
"schemaVersion": 2,
|
||||||
|
|
|
@ -246,6 +246,7 @@ The CloudFront distribution must be created such that the `Origin Path` is set t
|
||||||
Here the `middleware` option is used. It is still important to keep the `storage` option as CloudFront will only handle `pull` actions; `push` actions are still directly written to S3.
|
Here the `middleware` option is used. It is still important to keep the `storage` option as CloudFront will only handle `pull` actions; `push` actions are still directly written to S3.
|
||||||
|
|
||||||
The following example shows what you will need at minimum:
|
The following example shows what you will need at minimum:
|
||||||
|
|
||||||
```
|
```
|
||||||
...
|
...
|
||||||
storage:
|
storage:
|
||||||
|
|
Loading…
Reference in a new issue