Improve tip on log messages (#3888)

* Improve tip on log messages

* Reformat per feedback
This commit is contained in:
Jim Galasyn 2017-07-13 12:07:43 -07:00 committed by John Mulhausen
parent 82998e1077
commit cf36ad3cb2

View file

@ -103,10 +103,18 @@ to make the change persistent.
Save the file and restart Docker for the change to take effect. Save the file and restart Docker for the change to take effect.
> **Tip**: If you see a message in the log that reads, > **Tip**: Some log messages that appear to be errors are actually
> `error statting local store, serving from upstream: unknown blob`, this isn't > informational messages. Check the `level` field to determine whether
> an error in cache functionality. Instead, it's an informational message > the message is warning you about an error or is giving you information.
> telling you that the file doesn't exist yet in the local cache. > For example, this log message is informational:
>
> ```conf
> `time="2017-06-02T15:47:37Z" level=info msg="error statting local store, serving from upstream: unknown blob" go.version=go1.7.4`
> ```
>
> It's telling you that the file doesn't exist yet in the local cache and is
> being pulled from upstream.
## Use case: the China registry mirror ## Use case: the China registry mirror