https://issues.apache.org/bugzilla/show_bug.cgi?id=54818

            Bug ID: 54818
           Summary: SyslogAppender tag does not support non-alphanumeric
                    characters.
           Product: Log4j
           Version: 1.2.18
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

The following method does not allow syslog tags to include characters other
than alphanumeric characters, for example, underscores are not allowed. The
syslog spec allows 

public void setTag(final String tag) {
    .
    .
    .
            if (NOT_ALPHANUM.matcher(newTag).find()) {
                throw new IllegalArgumentException("tag contains
non-alphanumeric characters");
            }
    .
    .
    .
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to