[logback-user] ShutdownHook WAS: Release of logback version 1.1.2

Michael Reinhold mike at coursescheduler.io
Fri Apr 4 17:46:03 CEST 2014


FYI -

I just closed the old pull request (177) that was based on 1.1.2. Pull
request 186 is based on the 1.1.3 starting point commit and contains the
changes to AsyncAppender as previously discussed in request 177. I'm
working on rebasing and finishing the ShutdownHookAction changes and will
submit that in a separate pull request as soon as I can.

Thanks!

Mike Reinhold


On Fri, Apr 4, 2014 at 9:20 AM, Michael Reinhold <mike at coursescheduler.io>wrote:

> Hi Ceki,
>
> No problem! Things are busy all around. :)
>
> I will rebase and separate this into two separate pull requests to make it
> easier to review and merge. I should be able to get this back to you before
> Monday without an issue.
>
> Good catch on the ContextBase.removeShutdownHook - that reference should
> be cleared as well. I'll make this change in the new pull request.
>
> Cheers,
>
> Mike Reinhold
>
>
> On Fri, Apr 4, 2014 at 2:43 AM, Ceki Gulcu <ceki at qos.ch> wrote:
>
>>
>> Just looked at the code of ShutdownHookAction. It looks good.
>>
>> As for ContextBase.removeShutdownHook, after calling
>> Runtime.getRuntime().removeShutdownHook(hook) you would also want to
>> clear the hook associated with CoreConstants.SHUTDOWN_HOOK_THREAD.
>>
>> Cheers,
>> --
>> Ceki
>>
>>
>> On 04.04.2014 08:38, Ceki Gulcu wrote:
>>
>>> Hi Michael,
>>>
>>> Thank you for your message and my apologies for not responding sooner on
>>> this issue. Separating AsyncAppender and ShutdownHookAction would be
>>> nice but not strictly necessary. However, it would be easier to perform
>>> the merge after a rebase and a new pull request. Thank you for offering.
>>> Much appreciated.
>>>
>>> Best regards,
>>> --
>>> Ceki
>>>
>>>
>>> On 02.04.2014 22:47, Michael Reinhold wrote:
>>>
>>>> Hi Ceki,
>>>>
>>>> Glad to hear the next release of Logback is out!
>>>>
>>>> I apologize that I was not able to complete the changes for the
>>>> ShutdownHookAction and associated components prior to this release. I
>>>> did intend to have it ready for you to merge prior to 1.1.2 - clearly I
>>>> missed! I just wanted to reach out to you to find out how best to
>>>> proceed with getting the changes to AsyncAppender and the ShutdownHook
>>>> merged into logback.
>>>>
>>>> I'm assuming that you would prefer that I pull and rebase my work
>>>> against the latest commit in the repo? I'm not sure if I should close
>>>> the current pull request and initiate a new pull request? Would you
>>>> prefer that I split out the AsyncAppender changes into its own pull
>>>> request, separate from the ShutdownHookAction components? This probably
>>>> makes sense since the AsyncAppender timeout period is complete and
>>>> valuable to others even without a built-in Shutdown hook mechanism in
>>>> Logback.
>>>>
>>>> Please let me know how you would like me to proceed - I want to make
>>>> including these features as easy for the Logback team as possible!
>>>>
>>>> Regards,
>>>>
>>>> Mike Reinhold
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Logback-user mailing list
>>> Logback-user at qos.ch
>>> http://mailman.qos.ch/mailman/listinfo/logback-user
>>>
>>
>> _______________________________________________
>> Logback-user mailing list
>> Logback-user at qos.ch
>> http://mailman.qos.ch/mailman/listinfo/logback-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20140404/97de4a2a/attachment.html>


More information about the Logback-user mailing list