public void setOriginalAppenderName(String name) {
        this.originalAppenderName = name;
        this.initBatcher(this.originalAppenderName);
        this.putBufferTimeTracer = Monitors.newTimer("putBuffer",
                TimeUnit.NANOSECONDS);
        this.putDiscardMapTimeTracer = Monitors.newTimer("putDiscardMap",
                TimeUnit.NANOSECONDS);
        this.locationInfoTimer = Monitors.newTimer("locationInfo",
                TimeUnit.NANOSECONDS);
        this.saveThreadLocalTimer = Monitors.newTimer("saveThreadLocal",
                TimeUnit.NANOSECONDS);

        // We register these counters differently to the above timers, because need to keep the metric names as they were when we were
        // using DynamicCounter.increment() directly.
        this.summarizeEventCounter = initAndRegisterCounter(this.originalAppenderName + "_summarizeEvent");
        this.discardEventCounter = initAndRegisterCounter(this.originalAppenderName + "_discardEvent");
        this.putInBufferCounter = initAndRegisterCounter(this.originalAppenderName + "_putInBuffer");

        this.logSummaryMap = CacheBuilder
                .newBuilder()
                .initialCapacity(5000)
                .maximumSize(
                        CONFIGURATION.getLogSummarySize(originalAppenderName))
                .expireAfterWrite(
                        CONFIGURATION
                                .getLogSummaryExpiry(originalAppenderName),
                        TimeUnit.SECONDS).<String, LogSummary> build().asMap();
        try {
            Monitors.registerObject(this.originalAppenderName, this);
        } catch (Throwable e) {
            if (CONFIGURATION.shouldPrintLoggingErrors()) {
                System.err.println("Cannot register monitor for AsyncAppender "
                        + this.originalAppenderName);
                e.printStackTrace();
            }
        }
    }
public void setOriginalAppenderName ( String name ) { this . originalAppenderName = name ; this . initBatcher ( this . originalAppenderName ) ; this . putBufferTimeTracer = Monitors . newTimer ( "putBuffer" , TimeUnit . NANOSECONDS ) ; this . putDiscardMapTimeTracer = Monitors . newTimer ( "putDiscardMap" , TimeUnit . NANOSECONDS ) ; this . locationInfoTimer = Monitors . newTimer ( "locationInfo" , TimeUnit . NANOSECONDS ) ; this . saveThreadLocalTimer = Monitors . newTimer ( "saveThreadLocal" , TimeUnit . NANOSECONDS ) ; this . summarizeEventCounter = initAndRegisterCounter ( this . originalAppenderName + "_summarizeEvent" ) ; this . discardEventCounter = initAndRegisterCounter ( this . originalAppenderName + "_discardEvent" ) ; this . putInBufferCounter = initAndRegisterCounter ( this . originalAppenderName + "_putInBuffer" ) ; this . logSummaryMap = CacheBuilder . newBuilder ( ) . initialCapacity ( 5000 ) . maximumSize ( CONFIGURATION . getLogSummarySize ( originalAppenderName ) ) . expireAfterWrite ( CONFIGURATION . getLogSummaryExpiry ( originalAppenderName ) , TimeUnit . SECONDS ) . < String , LogSummary > build ( ) . asMap ( ) ; try { Monitors . registerObject ( this . originalAppenderName , this ) ; } catch ( Throwable e ) { if ( CONFIGURATION . shouldPrintLoggingErrors ( ) ) { System . err . println ( "Cannot register monitor for AsyncAppender " + this . originalAppenderName ) ; e . printStackTrace ( ) ; } } }
Sets the name of the underlying appender that is wrapped by this
<code>AsyncAppender</code>

@param name
- The name of the underlying appender