logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudharma Puranik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-15) Provide a "Proxy" Appender to support lazy initialization of Appenders.
Date Fri, 15 Nov 2013 07:13:20 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823368#comment-13823368
] 

Sudharma Puranik commented on LOG4J2-15:
----------------------------------------

I tried using it but it doesnot work. I made the deferChildren=true but it says an error like
. I have provided the Triggering policy already.
{quote}
A TriggeringPolicy must be provided
2013-11-15 12:33:09,765 ERROR Unable to create Appender of type RollingRandomAccessFile

{quote}

> Provide a "Proxy" Appender to support lazy initialization of Appenders. 
> ------------------------------------------------------------------------
>
>                 Key: LOG4J2-15
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-15
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>             Fix For: 2.0-alpha1
>
>
> In the environment I work in we share the logging configuration across several JVMs.
Some Appender definitions might not apply to a particular JVM. Rather than requiring the classes
for the actual appender be available during initialization we had our own logging framework
that supported Appender creation the first time it was published to. This can be accomplished
by configuring a Proxy and the actual Appender under the proxy.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message