You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2008/01/06 15:55:03 UTC

svn commit: r609323 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c iis/jk_isapi_plugin.c

Author: rjung
Date: Sun Jan  6 06:55:01 2008
New Revision: 609323

URL: http://svn.apache.org/viewvc?rev=609323&view=rev
Log:
Increase log level of new warning about hard
configured shm size in order to make people
use automatic configuration.

Modified:
    tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c
    tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
    tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c

Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c?rev=609323&r1=609322&r2=609323&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c Sun Jan  6 06:55:01 2008
@@ -2672,9 +2672,9 @@
     if (jk_shm_size == 0)
         jk_shm_size = jk_shm_calculate_size(jk_worker_properties, conf->log);
     else {
-        jk_log(conf->log, JK_LOG_INFO,
+        jk_log(conf->log, JK_LOG_WARNING,
                "The optimal shared memory size can now be determined automatically.");
-        jk_log(conf->log, JK_LOG_INFO,
+        jk_log(conf->log, JK_LOG_WARNING,
                "You can remove the JkShmSize directive if you want to use the optimal size.");
     }
     if ((rc = jk_shm_open(jk_shm_file, jk_shm_size, conf->log)) != 0)

Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?rev=609323&r1=609322&r2=609323&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original)
+++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Sun Jan  6 06:55:01 2008
@@ -2787,9 +2787,9 @@
     if (jk_shm_size == 0)
         jk_shm_size = jk_shm_calculate_size(jk_worker_properties, conf->log);
     else {
-        jk_log(conf->log, JK_LOG_INFO,
+        jk_log(conf->log, JK_LOG_WARNING,
                "The optimal shared memory size can now be determined automatically.");
-        jk_log(conf->log, JK_LOG_INFO,
+        jk_log(conf->log, JK_LOG_WARNING,
                "You can remove the JkShmSize directive if you want to use the optimal size.");
     }
     if ((rc = jk_shm_open(jk_shm_file, jk_shm_size, conf->log)) == 0) {

Modified: tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c?rev=609323&r1=609322&r2=609323&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/connectors/trunk/jk/native/iis/jk_isapi_plugin.c Sun Jan  6 06:55:01 2008
@@ -1765,9 +1765,9 @@
                 if (shm_config_size == 0)
                     shm_config_size = jk_shm_calculate_size(workers_map, logger);
                 else {
-                    jk_log(logger, JK_LOG_INFO,
+                    jk_log(logger, JK_LOG_WARNING,
                            "The optimal shared memory size can now be determined automatically.");
-                    jk_log(logger, JK_LOG_INFO,
+                    jk_log(logger, JK_LOG_WARNING,
                            "You can remove the JkShmSize directive if you want to use the optimal size.");
                 }
                 if ((rv = jk_shm_open(shm_name, shm_config_size, logger)) != 0)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org