using SyslogAppender with name and pattern
option one:

    appender new SyslogAppender( name:"full",
        syslogHost:"localhost:514",
        facility:"local6",
        threshold:org.apache.log4j.Level.INFO,
        layout:pattern(conversionPattern:"blah blah") );

option two:

    appender new SyslogAppender(
        pattern(conversionPattern:"blah blah"),
        LOG_LOCAL6);

These don't work. The only way to specify a layout to a SyslogAppender is at instantiation, which means a name can't be specified. How do I get a name and a pattern?
using SyslogAppender with name and pattern
===

option one:

    appender new SyslogAppender( name:"full",
        syslogHost:"localhost:514",
        facility:"local6",
        threshold:org.apache.log4j.Level.INFO,
        layout:pattern(conversionPattern:"blah blah") );

option two:

    appender new SyslogAppender(
        pattern(conversionPattern:"blah blah"),
        LOG_LOCAL6);

These don't work. The only way to specify a layout to a SyslogAppender is at instantiation, which means a name can't be specified. How do I get a name and a pattern?