Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix docs

  • Loading branch information...
commit 1da887774617f4102c6e38bb1c84d8d053dbd0ce 1 parent 784b093
Weibin Yao(姚伟斌) authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 README
6 README
@@ -36,6 +36,7 @@ http {
36 36 listen 80;
37 37 server_name localhost;
38 38
  39 + #send the log to syslog and file.
39 40 access_log syslog:notice|logs/host1.access.log main;
40 41 error_log syslog:notice|logs/host1.error.log;
41 42
@@ -62,6 +63,7 @@ http {
62 63 listen 80;
63 64 server_name www.test.com;
64 65
  66 + #send the log just to syslog.
65 67 access_log syslog:error main;
66 68 error_log syslog:error;
67 69
@@ -87,7 +89,7 @@ Syntax: error_log [syslog[:emerg|alert|crit|error|warn|notice|info|debug]]['|'fi
87 89 Default: ${prefix}/logs/error.log
88 90 Context: main, http, server, location
89 91
90   -Enable the error_log with the syslog and set its priority. The default priority is error.
  92 +Enable the error_log with the syslog and set its priority. The default priority is error. The error log can be sent to syslog, file or both.
91 93
92 94 Note: if you set the error_log directive in the main block, the syslog is switched on by default.
93 95
@@ -96,7 +98,7 @@ Syntax: access_log off|[syslog[:emerg|alert|crit|error|warn|notice|info|debug]][
96 98 Default: access_log logs/access.log combined
97 99 Context: http, server, location
98 100
99   -Enable the access_log with the syslog and set its priority. The default priority is notice.
  101 +Enable the access_log with the syslog and set its priority. The default priority is notice. The access log can be sent to syslog, file or both.
100 102
101 103
102 104 ==CONTACT==

0 comments on commit 1da8877

Please sign in to comment.
Something went wrong with that request. Please try again.