Skip to content

Commit 5726014

Browse files
committed
minor edit to debug log
1 parent f984baa commit 5726014

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

en/02-NginxDirectiveExecOrder01.tut

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,14 @@ C<rewrite>, two commands L<ngx_echo/echo> are executed afterwards in
6969
phase C<content>. Commands in different phases cannot be executed
7070
back and forth.
7171

72-
To prove this, we can troubleshoot Nginx's "debug log".
72+
To prove this, we can enable Nginx's "debug log".
7373

7474
If you have not worked with Nginx "debug log" before, here is a brief
7575
introduction. The "debug log" is disabled by default because
76-
performance is degraded when it is enabled.
77-
78-
To enable "debug log" we would need to reconfigure and recompile Nginx
79-
binary, by giving C<--with-debug> option for the package's C<./configure>
80-
script. The typical steps are as following when build under Linux or Mac OS X
81-
from source:
76+
performance is degraded when it is enabled. To enable "debug log"
77+
you must reconfigure and recompile Nginx, and set the
78+
C<--with-debug> option for the package's C<./configure> script.
79+
When building under Linux or Mac OS X from source:
8280

8381
:bash
8482
tar xvf nginx-1.0.10.tar.gz

0 commit comments

Comments
 (0)