Bug 34397

Summary: loglevel 'emerg' is handled as loglevel 'error'
Product: Tomcat Connectors Reporter: roy_rabbit
Component: CommonAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Windows 2000   

Description roy_rabbit 2005-04-11 13:15:31 UTC
I am using isapi_redirect.dll as connector between Tomcat and IIS5. The 
parameter 'log_level' is set to 'emerg', but in the logfile level 'error' 
occurs.
In function 'jk_parse_log_level' of 'jk_util.c' the part 

    if (0 == strcasecmp(level, JK_LOG_EMERG_VERB)) {
        return JK_LOG_ERROR_LEVEL;
    }

has to be changed to

if (0 == strcasecmp(level, JK_LOG_EMERG_VERB)) {
        return JK_LOG_EMERG_LEVEL;
    }
Comment 1 Mladen Turk 2005-07-03 10:40:57 UTC
This has been fixed in the CVS.