Anand,
    How are you reconfiguring?  Are you using 
PropertyConfigurator.configureAndWatch(...) or something
else?

Kevin


[EMAIL PROTECTED] wrote:

> I haven't got any reply for this Query. Please anybody help me out to sort this 
>problem.
>
> Sir,
>
>    We are trying Multiple Categories with Single Appender.
>    we change the levels for each category in the Properties file at runtime,
>    and try to reconfigure it new. But its not appending to the files (here we use 
>rollingFileAppender)
>    and it gives the error as
>    log4j:ERROR Attempted to append to closed appender named [A1].
>    log4j:WARN Not allowed to write to a closed appender.
>    log4j:ERROR Attempted to append to closed appender named [A1].
>    log4j:WARN Not allowed to write to a closed appender.
>
>    It appends improperly missing data's. This we tried using multi clients
>    using multithreading.
>
>    The Config File is.
>    # Audit Log properties for log4j logging system
>
>    log4j.appender.A1=org.apache.log4j.RollingFileAppender
>    log4j.appender.A1.MaxFileSize=100kb
>    log4j.appender.A1.MaxBackupIndex=100
>    log4j.appender.A1.layout=org.apache.log4j.PatternLayout
>    log4j.appender.A1.layout.ConversionPattern=%m%n
>    log4j.appender.A1.File=logging\\logger.log
>    log4j.appender.A1.Append=true
>
>    log4j.category.Cash=WARN,A1
>    log4j.category.Repo=DEBUG,A1
>    log4j.category.FixedIncome=DEBUG,A1
>    log4j.category.Security=DEBUG,A1
>    log4j.category.Log=DEBUG,A1
>
>    We need ur help to clear this error and we need to know where we have to
>    configure if we change the levels at runtime. We want to reflect at runtime 
>itself.
>    Even we tried to shutdown all the categories and had a fresh instance of each 
>category objects
>    and then again we configured.Still its giving error.
>
>    Regards,
>    Anand
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to