tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: JK2 logging with IIS
Date Thu, 16 Dec 2004 17:30:33 GMT
[logger]
level=ERROR

[logger.file:0]
level=ERROR
file=d:\\jakarta-tomcat-jk2\\jk2.log
 
[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0 

[shm]
file=d:\\jakarta-tomcat-jk2\\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:intranet/*.do]
info=do
context=/
worker=ajp13:localhost:8009

[uri:intranet/*.jsp]
info=jsp
context=/

> -----Original Message-----
> From: Derrick Koes [mailto:Derrick_Koes@skillsoft.com]
> Sent: 16 December 2004 17:24
> To: Tomcat Users List
> Cc: Tomcat Developers List
> Subject: JK2 logging with IIS
> 
> 
> 
> The documentation for setting up a logger for JK2 is below.  
> I've tried using logger.file and logger.win32 for my IIS 
> configuration, but no luck.  Can someone please send the 
> right configuration steps to configure JK2 logging with IIS?  
> I'm trying to locate a "bug" in JK (not present in JK2) by 
> comparing logs as a first step.  Maybe I have a registry 
> setting missing.
> 
> Registry:
> 
> Windows Registry Editor Version 5.00
> 
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software 
> Foundation\Jakarta Isapi Redirector\2.0]
> "serverRoot"="C:\\jk2-connector"
> "extensionUri"="/jakarta/isapi_redirector2.dll"
> "workersFile"="C:\\jk2-connector\\conf\\workers2.properties"
> "logLevel"="INFO"
> 
> Thanks,
> Derrick
> 
> loggers 
> 
> Any connector based on jk2, at least has a default logger, 
> that can be reached using the "logger" alias, the logger used 
> is the more appropiate for the plataform/server combination, 
> Apache2 under in any platform has logger.apache2 as default, 
> IIS on his only platform uses logger.win32, and Any apache 1 
> install uses logger.file as default.., the config file lets 
> you change that defaults, you can end using logger.file in IIs i.e
> 
> The properties shared by all loggers are: Property name 
> Default Description 
> level INFO Text of the log level. Strings supported: EMERG, 
> ERROR, INFO, DEBUG 
> 
> 
> logger.file 
> 
> Property name Default Description 
> file ${serverRoot}/logs/jk2.log Log file. XXX you may be able 
> to change this at runtime, to implement rolling.  
> 
> 
> 
> logger.win32 
> 
> logger used in the IIS server by default, it ends at native 
> Application Event Log.
> 
> 
> logger.apache2 
> 
> Logger used in Apache2 servers, it normally in ends in error.log 
> 
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>

Mime
View raw message