Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: No way to stop jk2.log from appearing?

Bill Barker

2003-10-17

Replies:


"Robert Priest" <Robert.Priest@(protected)
news:AFB2BB146EB8164CB6820448AE39A567BEFAB5@(protected)...
> from the following code snippet from
(j-t-c\jk\native2\common\jk_logger.c):
>
> static int JK_METHOD jk2_logger_file_init(jk_env_t *env,jk_logger_t
*_this )
> {
>   FILE *oldF=(FILE *)_this->logger_private;
>   FILE *f=NULL;
>   jk_workerEnv_t *workerEnv=env->getByName( env, "workerEnv" );
>   if( _this->name==NULL ) {
>      _this->name="${serverRoot}/logs/jk2.log";
>   }
> ....
>
> I can see that even if I don't want a jk log, I will get one?
>
> I know I can turn all logging of through my log4j.properties file, but
what
> If I don't even
> want the file appearing all together?
>

Patches are always welcome :).

> Should it be like this?
>
>
> Just a question...
>
> I would like to just stop the file from appearing, even if it is empty.




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.