Description
The implementation of SyslogAppender::getFacility has fragments like the following where you'd expect the uppercased facility name to be in sync with the lower case:
else if (StringHelper::equalsIgnoreCase(s, LOG4CXX_STR("LOCAL1"), LOG4CXX_STR("local1")))
{ return LOG_LOCAL1; }else if (StringHelper::equalsIgnoreCase(s, LOG4CXX_STR("LOCAL1"), LOG4CXX_STR("local2")))
{ return LOG_LOCAL2; }else if (StringHelper::equalsIgnoreCase(s, LOG4CXX_STR("LOCAL1"), LOG4CXX_STR("local3")))
{ return LOG_LOCAL3; }However the unintentional reuse of LOCAL1 does not have any negative consequences.