tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 332] New - mod_jk JkLogLevel (also tomcat.sh) BugRat Report#598
Date Tue, 13 Feb 2001 20:30:45 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=332

*** shadow/332	Tue Feb 13 12:30:45 2001
--- shadow/332.tmp.12464	Tue Feb 13 12:30:45 2001
***************
*** 0 ****
--- 1,59 ----
+ +============================================================================+
+ | mod_jk JkLogLevel (also tomcat.sh) BugRat Report#598                       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 332                         Product: Tomcat 3                |
+ |       Status: UNCONFIRMED                 Version: 3.2 Final               |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Connectors              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: danmil@shore.net                                             |
+ |  Reported By: conor@cortexebusiness.com.au                                 |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ In jk_logger.h (mod_jk, tomcat version 3.2), the log
+ levels are defined as:
+ 
+ #define JK_LOG_DEBUG_VERB   "debug"
+ #define JK_LOG_INFO_VERB    "info"
+ #define JK_LOG_ERROR_VERB   "error"
+ #define JK_LOG_EMERG_VERB   "emerg"
+ 
+ The documentation and sample config files show a
+ level of "warn" for JkLogLevel. jk_util.c does not
+ find "warn" as a log level and sets the level to "debug".
+ 
+ 
+ Another minor quibble.  Add some "shifts" in bin/tomcat.sh
+ when the user specifies "-security". Otherwise
+ the script fails.
+ 
+ *** tomcat.sh.orig      Fri Dec 15 10:18:15 2000
+ --- tomcat.sh   Fri Dec 15 10:17:12 2000
+ ***************
+ *** 122,127 ****
+ --- 122,128 ----
+     shift 
+     echo Using classpath: ${CLASSPATH}
+     if [ "$1" = "-security" ] ; then
+ +     shift
+       echo Starting with a SecurityManager
+       $JAVACMD $TOMCAT_OPTS -Djava.security.manager -Djava.security.policy==${TOMCAT_HOME}/conf/tomcat.policy
-Dtomcat.home=${TOMCAT_HOME}  org.apache.tomcat.startup.Tomcat "$@" &
+     else
+ ***************
+ *** 139,144 ****
+ --- 140,146 ----
+     shift 
+     echo Using classpath: ${CLASSPATH}
+     if [ "$1" = "-security" ] ; then
+ +     shift
+       echo Starting with a SecurityManager
+       $JAVACMD $TOMCAT_OPTS -Djava.security.manager -Djava.security.policy==${TOMCAT_HOME}/conf/tomcat.policy
-Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat "$@"
+     else
+ 
+ 
+ 
+ 

Mime
View raw message