[packages/tomcat] handle access log logging as well
glen
glen at pld-linux.org
Tue Jan 7 12:57:33 CET 2014
commit 40c59dd3f0aca00ac9acd53e756d4a6cb32d660d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 7 13:57:23 2014 +0200
handle access log logging as well
logging.patch | 12 ++++++++++++
tomcat.spec | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/tomcat.spec b/tomcat.spec
index 39754f3..bc3b5ce 100644
--- a/tomcat.spec
+++ b/tomcat.spec
@@ -13,7 +13,7 @@ Summary: Web server and Servlet/JSP Engine, RI for Servlet %{servletapiver}/JSP
Summary(pl.UTF-8): Serwer www i silnik Servlet/JSP będący wzorcową implementacją API Servlet %{servletapiver}/JSP %{jspapiver}
Name: tomcat
Version: 7.0.41
-Release: 7
+Release: 8
License: Apache v2.0
Group: Networking/Daemons/Java
Source0: http://www.apache.org/dist/tomcat/tomcat-7/v%{version}/src/apache-%{name}-%{version}-src.tar.gz
diff --git a/logging.patch b/logging.patch
index 57898ae..9042ffe 100644
--- a/logging.patch
+++ b/logging.patch
@@ -27,3 +27,15 @@
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
+--- apache-tomcat-7.0.41-src/conf/server.xml~ 2014-01-07 13:53:41.000000000 +0200
++++ apache-tomcat-7.0.41-src/conf/server.xml 2014-01-07 13:55:47.637678314 +0200
+@@ -175,8 +175,7 @@
+ Documentation at: /docs/config/valve.html
+ Note: The pattern used is equivalent to using pattern="common" -->
+ <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
+- prefix="localhost_access_log." suffix=".txt"
+- pattern="%h %l %u %t "%r" %s %b" />
++ pattern="combined" prefix="access_log" rotatable="false"/>
+
+ </Host>
+ </Engine>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/40c59dd3f0aca00ac9acd53e756d4a6cb32d660d
More information about the pld-cvs-commit
mailing list