Hello Jay.

Thanks a lot. I will give it a trial. However I did not find 'jk_util.c' in
'native2' source directory, but it is in 'native' directory only. File
'jk_logger.h' in 'native' directory has the same entries (almost) as that in
'native2' directory, e.g.:

    'jk_logger.h' from 'native' directory:

    #define JK_LOG_DEBUG_LEVEL   0
    #define JK_LOG_INFO_LEVEL    1
    #define JK_LOG_ERROR_LEVEL   2
    #define JK_LOG_EMERG_LEVEL   3
    #define JK_LOG_REQUEST_LEVEL 4

    #define JK_LOG_DEBUG_VERB   "debug"
    #define JK_LOG_INFO_VERB    "info"
    #define JK_LOG_ERROR_VERB   "error"
    #define JK_LOG_EMERG_VERB   "emerg"

    #define JK_LOG_DEBUG   __FILE__,__LINE__,JK_LOG_DEBUG_LEVEL
    #define JK_LOG_INFO    __FILE__,__LINE__,JK_LOG_INFO_LEVEL
    #define JK_LOG_ERROR   __FILE__,__LINE__,JK_LOG_ERROR_LEVEL
    #define JK_LOG_EMERG   __FILE__,__LINE__,JK_LOG_EMERG_LEVEL
    #define JK_LOG_REQUEST __FILE__,0,JK_LOG_REQUEST_LEVEL


    'jk_logger.h' from 'native2' directory:

    #define JK_LOG_DEBUG_LEVEL 0
    #define JK_LOG_INFO_LEVEL  1
    #define JK_LOG_ERROR_LEVEL 2
    #define JK_LOG_EMERG_LEVEL 3

    #define JK_LOG_DEBUG_VERB   "debug"
    #define JK_LOG_INFO_VERB    "info"
    #define JK_LOG_ERROR_VERB   "error"
    #define JK_LOG_EMERG_VERB   "emerg"

    #define JK_LOG_DEBUG __FILE__,__LINE__,JK_LOG_DEBUG_LEVEL
    #define JK_LOG_INFO  __FILE__,__LINE__,JK_LOG_INFO_LEVEL
    #define JK_LOG_ERROR __FILE__,__LINE__,JK_LOG_ERROR_LEVEL
    #define JK_LOG_EMERG __FILE__,__LINE__,JK_LOG_EMERG_LEVEL

    int jk2_logger_file_parseLogLevel(struct jk_env *env, const char
*level);


Tell me please, what do You consider of this situation.
I have no too much expirience in compilation .dll libraries (especially
isapi_redirector2.dll and C at all), therefore I'm asking You a help.


Thank You once again and my best regards,
Konrad Rusz



----- Original Message -----
From: "Jay Lee" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 8:43 PM
Subject: RE: Stop logging from isapi_redirector2.dll


> There is a sure way to fix this.  Downloand the jk2 source code from web.
> You need visual studio 6.0.
> I just took a look of isapi_redirector2.dll a few of days ago.  I
remembered
> that the structure is close to   isapi_redirector.dll.  Therefore, you
> should find followings:
> 1)Open "jk_logger.h", you will find debug is set to 0 and emerg is set to
3.
> You can try to change these value to a negative number first.
> 2)"Log" API are at "jk_util.c". If previous try is not working, there
should
> be a bug there.
> Rebuild the application is very simple.  Give it a try.
> By the way, I was looking isapi_redirector.dll using winsock2.  However it
> is still using winsock 1.1.  I think that I have to implement myself.
>
> good luck.
> jay
>
> -----Original Message-----
> From: Konrad Rusz [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2003 6:22 AM
> To: Tomcat Users List
> Subject: Re: Stop logging from isapi_redirector2.dll
>
>
> Hello Jay.
>
> Thanks for Your help but it doesn't work still. If You will be know how
can
> I resolve my problem, please contact me.
>
> My best regards,
> Konrad Rusz
>
>
> ----- Original Message -----
> From: "Jay Lee" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, March 03, 2003 7:14 PM
> Subject: RE: Stop logging from isapi_redirector2.dll
>
>
> > "emerg" should work and it worked on isapi_redirector.dll.
> > Could you try to take out
> > "logFile"="C:\\jakarta-tomcat\\logs\\iis_redirector2.log"?
> > If that doen't work, you need to download  isapi_redirector2.dll source
> > codes and fix it yourself.
> >
> > -----Original Message-----
> > From: Konrad Rusz [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 03, 2003 2:52 AM
> > To: Tomcat Users List
> > Subject: Stop logging from isapi_redirector2.dll
> >
> >
> > Hi everyone.
> >
> > I have a problem. I have connected IIS 5.0 and Tomcat 4.1.18. I use JK2
> and
> > I cannot stop logging events in Windows Application Log from
> > isapi_redirector2.dll. I have added reg key as follow (in Windows 2000
> > Server SP3):
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> > Redirector\2.0]
> > "serverRoot"="C:\\jakarta-tomcat"
> > "extensionUri"="/jakarta/isapi_redirector2.dll"
> > "workersFile"="C:\\jakarta-tomcat\\conf\\workers2.properties"
> > "authComplete"="0"
> > "threadPool"="20"
> > "logFile"="C:\\jakarta-tomcat\\logs\\iis_redirector2.log"
> > "logLevel"="ERROR"
> >
> > I tied typed different parameters in "logLevel", such as: "ERROR",
> "DEBUG",
> > "INFO", "emerg". Unfortunatelly it does not work.
> >
> > Can You have any ideas how can I resolve my problem?
> >
> > Best regards,
> > Konrad Rusz




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to