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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]