Skip to content

Commit 37b7677

Browse files
nraminxfeep
authored andcommitted
Text change
1 parent e589116 commit 37b7677

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

More.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Since v0.2.5, nginx-clojure provides a union form of [hijack API][] to work with
101101

102102
### Hijack the Request
103103

104-
We can hijack the request to get a http server channel to send some messages later. After hijacking the return result from ring handler, will be ignored so we can finely control when & what to be sent to the client.
104+
We can hijack the request to get a http server channel to send some messages later. After hijacking the return result from ring handler, it will be ignored so we can finely control when & what to be sent to the client.
105105

106106
For Clojure
107107

@@ -274,7 +274,7 @@ Here's an example which is retrieving content from mirror.bit.edu.cn:8080 and se
274274
3.7 About Logging
275275
-----------------
276276
277-
For logging with nginx-clojure there are several ways
277+
For logging with nginx-clojure there are several ways:
278278
279279
1. Using System.err.print/println will write a log to nginx error.log. This way is simplest but logging information will be mixed if you have more than one nginx worker.
280280
2. Using clojure tools.logging + logback or slf4j + logback, we can get one log file per nginx worker.
@@ -308,7 +308,7 @@ in logback.xml
308308
</appender>
309309
```
310310
311-
Then we'll get log files whose name is just like myapp.2014-09-12-1.log, myapp.2014-09-12-2.log and so on.
311+
Then we'll generate log files named in this convention: myapp.2014-09-12-1.log, myapp.2014-09-12-2.log and so on.
312312
313313
3.8 Sever Side WebSocket
314314
-----------------

More.md.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h2>
258258
<h2>
259259
<a id="user-content-37--about-logging" class="anchor" href="#37--about-logging" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>3.7 About Logging</h2>
260260

261-
<p>For logging with nginx-clojure there are several ways</p>
261+
<p>For logging with nginx-clojure there are several ways:</p>
262262

263263
<ol>
264264
<li>Using System.err.print/println will write a log to nginx error.log. This way is simplest but logging information will be mixed if you have more than one nginx worker.</li>
@@ -288,7 +288,7 @@ <h2>
288288
&lt;/<span class="pl-ent">encoder</span>&gt;
289289
&lt;/<span class="pl-ent">appender</span>&gt;</pre></div>
290290

291-
<p>Then we'll get log files whose name is just like myapp.2014-09-12-1.log, myapp.2014-09-12-2.log and so on.</p>
291+
<p>Then we'll generate log files named in this convention: myapp.2014-09-12-1.log, myapp.2014-09-12-2.log and so on.</p>
292292

293293
<h2>
294294
<a id="user-content-38--sever-side-websocket" class="anchor" href="#38--sever-side-websocket" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>3.8 Sever Side WebSocket</h2>
@@ -665,7 +665,7 @@ <h2>
665665
<div class="highlight highlight-source-nginx"><pre><span class="pl-k">worker_processes</span> <span class="pl-s">8</span>;</pre></div>
666666

667667
<p>Because a JVM instance will be embeded into every Nginx worker process, if there are more than one Nginx worker prcocesses then there will be more than one JVM instances.
668-
So if we want to have synchronized session information we cannot use the default tomcat session manger. Instead we may consider using one of the following: </p>
668+
So if we want to have synchronized session information we cannot use the default tomcat session manger. Instead we may consider using one of the following: </p>
669669

670670
<ol>
671671
<li>Cookie based Session Store viz. storing all session attribute information into cookies.</li>

more.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ <h2>
360360
<h2>
361361
<a id="user-content-37--about-logging" class="anchor" href="#37--about-logging" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>3.7 About Logging</h2>
362362

363-
<p>For logging with nginx-clojure there are several ways</p>
363+
<p>For logging with nginx-clojure there are several ways:</p>
364364

365365
<ol>
366366
<li>Using System.err.print/println will write a log to nginx error.log. This way is simplest but logging information will be mixed if you have more than one nginx worker.</li>
@@ -390,7 +390,7 @@ <h2>
390390
&lt;/<span class="pl-ent">encoder</span>&gt;
391391
&lt;/<span class="pl-ent">appender</span>&gt;</pre></div>
392392

393-
<p>Then we'll get log files whose name is just like myapp.2014-09-12-1.log, myapp.2014-09-12-2.log and so on.</p>
393+
<p>Then we'll generate log files named in this convention: myapp.2014-09-12-1.log, myapp.2014-09-12-2.log and so on.</p>
394394

395395
<h2>
396396
<a id="user-content-38--sever-side-websocket" class="anchor" href="#38--sever-side-websocket" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>3.8 Sever Side WebSocket</h2>

0 commit comments

Comments
 (0)