Mantis - Resin
Viewing Issue Advanced Details
4906 minor always 12-27-11 10:57 03-05-12 09:25
TheScrumMeister  
alex  
normal  
closed 4.0.17  
fixed  
none    
none 4.0.27  
0004906: IIS Plugin Logger does not check log level correctly.
In the source for the IIS-ResinHandler, the Logger.cs has a method IsLoggable:

internal bool IsLoggable(EventLogEntryType entryType) {
    return entryType < _logLevel;
}

The check should use the <= operator instead of the <, since if the log level was set to Information, IsLoggable(Information) should return **true**.


There are no notes attached to this issue.