[ 
https://issues.apache.org/jira/browse/VELOCITY-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-78.
------------------------------------------


> SimpleLog4JLogSystem closes appenders
> -------------------------------------
>
>                 Key: VELOCITY-78
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-78
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.3-rc1
>         Environment: Operating System: other
> Platform: All
>            Reporter: Steven Hugg
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: simplelog4jlogsystem.patch
>
>
> The SimpleLog4JLogSystem class closes all appenders in its shutdown() method, 
> even if the appenders were not created by Velocity. This can cause problems 
> if 
> the logging system is initialized in your servlet, and if Velocity instances 
> are finalized while other instances are in use -- since Log4J Categories are 
> static :P
> What should probably happen is a flag should be set so that appenders are 
> only 
> closed if they were created by the SimpleLog4JLogSystem class, and/or when 
> all 
> Velocity instances are GC'ed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to