You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2013/04/09 11:45:59 UTC

[Bug 54818] New: SyslogAppender tag does not support non-alphanumeric characters.

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: log4j-dev@logging.apache.org
          Reporter: hamant_9@hotmail.com
    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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org