comparison xml/en/docs/debugging_log.xml @ 1701:0108c6525d2a

Added info about linux packages to "Debugging log".
author Fedor Dikarev <fe@nginx.com>
date Tue, 12 Apr 2016 12:55:17 +0300
parents 64ed0ce8ac5e
children b274d289798d
comparison
equal deleted inserted replaced
1700:1dbef8ab47c7 1701:0108c6525d2a
6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> 6 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
7 7
8 <article name="A debugging log" 8 <article name="A debugging log"
9 link="/en/docs/debugging_log.html" 9 link="/en/docs/debugging_log.html"
10 lang="en" 10 lang="en"
11 rev="4"> 11 rev="5">
12 12
13 13
14 <section> 14 <section>
15 15
16 <para> 16 <para>
26 26
27 <programlisting> 27 <programlisting>
28 error_log /path/to/log debug; 28 error_log /path/to/log debug;
29 </programlisting> 29 </programlisting>
30 30
31 To verify that nginx is configured to support debugging,
32 run the <command>nginx -V</command> command:
33
34 <programlisting>
35 configure arguments: --with-debug ...
36 </programlisting>
37
38 Pre-built <link doc="../linux_packages.xml">Linux</link> packages
39 provide out-of-the-box support for debugging log with
40 the <literal>nginx-debug</literal> binary (1.9.8)
41 which can be run using commands
42
43 <programlisting>
44 service nginx stop
45 service nginx-debug start
46 </programlisting>
47
48 and then set the <literal>debug</literal> level.
31 The nginx binary version for Windows is always built with the debugging log 49 The nginx binary version for Windows is always built with the debugging log
32 support, so only setting the <literal>debug</literal> level will suffice. 50 support, so only setting the <literal>debug</literal> level will suffice.
33 </para> 51 </para>
34 52
35 <para> 53 <para>