<p>Eventually, using the <code>docker -D -l debug</code> setting for the client  I have found the log outputs (apparently currently there are no debug level messages implemented <a href="https://github.com/moby/moby/issues/6927" rel="nofollow noreferrer">as reported</a>.</p>

<pre><code>C:\Users\user\AppData\Local\Docker\log.txt
</code></pre>

CC BY-SA 3.0
2017-07-13T09:25:33.673Z
2017-07-13T09:25:33.673Z
Ta Mu
<p>By default, Docker client is not in debug mode. How to enable it?</p>

<pre><code>   &gt; docker info

    ..
    Debug Mode (client): false
    Debug Mode (server): true
    ..
</code></pre>

<p>If I try following <code>docker --help</code></p>

<pre><code>docker -D version 
</code></pre>

<p>I get indeed</p>

<pre><code>Debug Mode (client): true
Debug Mode (server): true
</code></pre>

<p>But then, how can I access log messages? The following for example does not seem to bring any debug statements to the console:</p>

<pre><code>PS U:\&gt; docker -D -l debug pull ubuntu:16.04
16.04: Pulling from library/ubuntu
75c416ea735c: Pull complete
c6ff40b6d658: Pull complete
a7050fc1f338: Pull complete
f0ffb5cf6ba9: Pull complete
be232718519c: Pull complete
Digest: sha256:a0ee7647e24c8494f1cf6b94f1a3cd127f4
Status: Downloaded newer image for ubuntu:16.04
</code></pre>

CC BY-SA 3.0
2017-07-12T15:49:20.637Z
Try `docker -D info`, by default it is not enabled and the client is the command you just run...
Tensibai
CC BY-SA 3.0
2017-07-12T16:35:48.887Z
you are right - as you suggested, I get "true" for the client as well; but where would I see the debug output for docker pull?
Ta Mu
CC BY-SA 3.0
2017-07-12T17:38:12.707Z
"docker -D -l debug" - but where do the log messages go?..
Ta Mu
CC BY-SA 3.0
2017-07-13T06:38:38.177Z
okay please check the updated question.
Ta Mu
CC BY-SA 3.0
2017-07-13T08:10:45.550Z
Ok, sorry for misunderstanding. docker pull has a special case according to this [issue](https://github.com/moby/moby/issues/6927)
Tensibai
<docker><windows>
How to enable debug mode for Docker client on Windows 10?
Ta Mu
# How to enable debug mode for Docker client on Windows 10?

(Asked by: username_0 on 2017-07-12)

By default, Docker client is not in debug mode. How to enable it?
   > docker info

    ..
    Debug Mode (client): false
    Debug Mode (server): true
    ..

If I try following docker --help
docker -D version 

I get indeed
Debug Mode (client): true
Debug Mode (server): true

But then, how can I access log messages? The following for example does not seem to bring any debug statements to the console:
PS U:\> docker -D -l debug pull ubuntu:16.04
16.04: Pulling from library/ubuntu
75c416ea735c: Pull complete
c6ff40b6d658: Pull complete
a7050fc1f338: Pull complete
f0ffb5cf6ba9: Pull complete
be232718519c: Pull complete
Digest: sha256:a0ee7647e24c8494f1cf6b94f1a3cd127f4
Status: Downloaded newer image for ubuntu:16.04

**Tags:** docker, windows

> **Comments:**
> **username_1**: Try `docker -D info`, by default it is not enabled and the client is the command you just run...  
> **username_0**: you are right - as you suggested, I get "true" for the client as well; but where would I see the debug output for docker pull?  
> **username_0**: "docker -D -l debug" - but where do the log messages go?..  
> **username_0**: okay please check the updated question.  
> **username_1**: Ok, sorry for misunderstanding. docker pull has a special case according to this [issue](https://github.com/moby/moby/issues/6927)  

---

## 1 answers

### Answer by username_0 on 2017-07-13. Score: 1

Eventually, using the docker -D -l debug setting for the client  I have found the log outputs (apparently currently there are no debug level messages implemented as reported.
C:\Users\user\AppData\Local\Docker\log.txt


---

