From 753d2588d1b62a23c3bc73100ae7a477e70a9683 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Sun, 18 Sep 2011 02:54:33 +0000
Subject: [PATCH] Altering the "somewhat similar" to default example to
actually be the default format.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172173 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/core.html.en | 13 +++++++++++--
docs/manual/mod/core.xml | 13 +++++++++++--
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en
index 676423e396e..73e8f09e790 100644
--- a/docs/manual/mod/core.html.en
+++ b/docs/manual/mod/core.html.en
@@ -1464,11 +1464,20 @@ in case of an error
with error log lines. If mod_unique_id is loaded, its
unique id will be used as log ID for requests.
- Example (somewhat similar to default format)
- ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P] %7F: %E: [client\ %a]
+ Example (default format)
+ ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a]
%M% ,\ referer\ %{Referer}i"
+ This would result in error messages such as:
+
+
+ [Thu May 12 08:28:57.652118 2011] [core:error] [pid 8777:tid 4326490112] [client ::1:58619] File does not exist: /usr/local/apache2/htdocs/favicon.ico
+
+
+ Notice that, as discussed above, some fields are ommitted
+ entirely because they are not defined.
+
Example (similar to the 2.2.x format)
ErrorLogFormat "[%t] [%l] %7F: %E: [client\ %a]
%M% ,\ referer\ %{Referer}i"
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index d2436f93a74..a319045ad07 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -1432,11 +1432,20 @@ in case of an error
with error log lines. If mod_unique_id is loaded, its
unique id will be used as log ID for requests.
-
Example (somewhat similar to default format)
- ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P] %7F: %E: [client\ %a]
+ Example (default format)
+ ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a]
%M% ,\ referer\ %{Referer}i"
+ This would result in error messages such as:
+
+
+ [Thu May 12 08:28:57.652118 2011] [core:error] [pid 8777:tid 4326490112] [client ::1:58619] File does not exist: /usr/local/apache2/htdocs/favicon.ico
+
+
+ Notice that, as discussed above, some fields are ommitted
+ entirely because they are not defined.
+
Example (similar to the 2.2.x format)
ErrorLogFormat "[%t] [%l] %7F: %E: [client\ %a]
%M% ,\ referer\ %{Referer}i"
--
2.47.3