<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 12, 2017 at 11:10 AM, Brian Stansberry <span dir="ltr">&lt;<a href="mailto:brian.stansberry@redhat.com" target="_blank">brian.stansberry@redhat.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="m_6545417172202226396m_3436463271126745014m_6683555855433862172HOEnZb"><font color="#888888"><br></font></span></blockquote></span><div>I&#39;m not sure what counts as first in this context, but fwiw if a logging subsystem is present during boot we always execute it&#39;s Stage.RUNTIME steps first before proceeding on to doing the parallel execution of the other subsystems. We could probably without too much trouble get a bit more grimy, e.g. to get the subsystem ops to run before a few others if they don&#39;t already. Beyond that I sense we wouldn&#39;t be talking grimy, we&#39;d be talking horrible. :)</div></div></div></div></blockquote><div><br></div></span><div>Darran and I had a brief discussion about what we could do because at least parts of Elytron and logging are generally needed before other things are configured. Elytron would likely need to be first because logging will have to use capabilities from it.</div><div><br></div><div>I&#39;ve wondered if there should be a new Stage.PRE_RUNTIME type of stage, but I can also see where that may get abused. </div></div></div></div></blockquote><div><br></div></span><div>This is starting to smell bad.</div><div><br></div><div>Elytron needs DS it seems, and DS needs ? and, well, this is why we use MSC. :)  We hadn&#39;t had deps from logging to other subsystems before, which is what made the minor boot op ordering tricks we do useful, but since we now do, then we&#39;re really down to MSC. Boot op ordering tricks can help optimize common cases like a logging subsystem not having elytron dependencies, but I don&#39;t think we should try and create a duplicate MSC.</div><span class=""><div> </div></span></div></div></div></blockquote><div><br></div><div>Yes I definitely agree. I don&#39;t really think adding a new stage is a good idea.</div><div><br></div><div>The only real reason for logging to need a dependency on Elytron would be to get an SSLContext for sending log messages over a socket. We don&#39;t currently have a socket-handler and the syslog handler doesn&#39;t currently support SSL. However the syslog server for access logging does.</div><div><br></div><div>If we don&#39;t want to have logging rely on Elytron we&#39;d just have to use the standard way of configuring an SSLContext.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class="">-- <br><div class="m_6545417172202226396gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Brian Stansberry<div>Manager, Senior Principal Software Engineer</div><div>Red Hat</div></div></div>
</span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>James R. Perkins</div><div>JBoss by Red Hat</div></div></div></div></div>
</div></div>