DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41437>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41437

           Summary: The log API used and the log message is not
                    corresponding.
           Product: Tomcat 5
           Version: 5.5.20
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P4
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


The message level is double but not same.

In org.apache.catalina.startup.LocalStrings.properties.
---
contextConfig.role.auth=WARNING: Security role name ...
contextConfig.role.link=WARNING: Security role name ...
contextConfig.role.runas=WARNING: Security role name ...
---

In org.apache.catalina.startup.ContextConfig#validateSecurityRoles()
---
log.info(sm.getString("contextConfig.role.auth", roles[j]));
log.info(sm.getString("contextConfig.role.runas", runAs));
log.info(sm.getString("contextConfig.role.link", link));
---

I think it should be the following. 
---LocalStrings.properties
contextConfig.role.auth=Security role name ...
contextConfig.role.link=Security role name ...
contextConfig.role.runas=Security role name ...

---ContextConfig#validateSecurityRoles()
log.warn(sm.getString("contextConfig.role.auth", roles[j]));
log.warn(sm.getString("contextConfig.role.runas", runAs));
log.warn(sm.getString("contextConfig.role.link", link));
---

Regards,
Yuichiro

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to