costin 02/04/11 13:23:41 Modified: jk/native2/common jk_logger_file.c Log: Another 'default' - if no name is set, default to ${serverRoot}/logs/mod_jk.log. Revision Changes Path 1.17 +8 -3 jakarta-tomcat-connectors/jk/native2/common/jk_logger_file.c Index: jk_logger_file.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_logger_file.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- jk_logger_file.c 26 Mar 2002 03:00:09 -0000 1.16 +++ jk_logger_file.c 11 Apr 2002 20:23:41 -0000 1.17 @@ -59,7 +59,7 @@ * Description: Utility functions (mainly configuration) * * Author: Gal Shachor <[EMAIL PROTECTED]> * * Author: Henri Gomez <[EMAIL PROTECTED]> * - * Version: $Revision: 1.16 $ * + * Version: $Revision: 1.17 $ * ***************************************************************************/ #include "jk_env.h" @@ -148,8 +148,13 @@ FILE *oldF=(FILE *)_this->logger_private; FILE *f=NULL; - if( _this->name==NULL ) - _this->name="mod_jk.log"; + if( _this->name==NULL ) { + jk_workerEnv_t *workerEnv=env->getByName( env, "workerEnv" ); + + _this->name=jk2_config_replaceProperties( env, workerEnv->initData, + _this->mbean->pool, + "${serverRoot}/logs/mod_jk.log"); + } f = fopen(_this->name, "a+"); if(f==NULL) {
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>