<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Thanks Corey,<br>
      <br>
      Its pretty unfriendly in terms of usability, I currently have to
      find this thread every time I want to debug something. Maybe I'll
      stick it as a bash alias or something.<br>
      <br>
      I do remember the discussion about the noise, it does make sense,
      but being able to change the levels more intuitively I think would
      help.<br>
      <br>
      Tom<br>
      <br>
      <br>
      On 04/12/17 14:36, Cory Johns wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOnY7SPZWFH6ES7-oOA0dh=B68SaZwkoh7sbu=aHV1aWRfOGtA@mail.gmail.com">
      <div dir="ltr">It seems that the default logging level for models
        was reduced some time back.  This makes the logs much less noisy
        and saves quite a bit of space, but it has the unfortunate side
        effect of making debugging charm failures from logs more
        difficult, as most failure messages only show up as stderr
        output.  It would probably be worth adding explicit logging of
        uncaught exceptions to the reactive framework so that they are
        clearly visible in the logs.
        <div><br>
        </div>
        <div>I've opened this as an issue against reactive here: <a
            href="https://github.com/juju-solutions/charms.reactive/issues/147"
            moz-do-not-send="true">https://github.com/juju-solutions/charms.reactive/issues/147</a></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Nov 26, 2017 at 2:47 PM, Tim
          Penhey <span dir="ltr"><<a
              href="mailto:tim.penhey@canonical.com" target="_blank"
              moz-do-not-send="true">tim.penhey@canonical.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">What is
            the logging level for the model?<br>
            <br>
            The output from the hooks are logged at debug level.<br>
            <br>
            Tim<br>
            <div class="HOEnZb">
              <div class="h5"><br>
                On 26/11/17 13:25, Tom Barber wrote:<br>
                > Maybe its just me, I dunno.<br>
                ><br>
                > Has the amount of detail in debug-logs decreased?<br>
                ><br>
                > I'm  not seeing failure causes for example:<br>
                ><br>
                > 2017-11-26 00:11:18 INFO juju.worker.uniter
                resolver.go:104 found queued<br>
                > "install" hook<br>
                > 2017-11-26 00:12:26 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:12:26 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:12:31 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:12:32 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:12:32 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:12:42 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:12:43 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:12:43 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:13:03 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:13:05 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:13:05 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:13:43 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:13:44 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:13:44 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:15:01 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:15:02 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:15:02 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:17:39 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:17:40 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                > 2017-11-26 00:17:40 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:21:42 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:22:40 INFO juju.worker.uniter
                resolver.go:100 awaiting<br>
                > error resolution for "install" hook<br>
                > 2017-11-26 00:22:41 ERROR
                juju.worker.uniter.operation runhook.go:107<br>
                > hook "install" failed: exit status 1<br>
                ><br>
                ><br>
                ><br>
                ><br>
                > Spicule Limited is registered in England &
                Wales. Company Number:<br>
                > 09954122. Registered office: First Floor, Telecom
                House, 125-135 Preston<br>
                > Road, Brighton, England, BN1 6AF. VAT No.
                251478891.<br>
                ><br>
                ><br>
                > All engagements are subject to Spicule Terms and
                Conditions of Business.<br>
                > This email and its contents are intended solely for
                the individual to<br>
                > whom it is addressed and may contain information
                that is confidential,<br>
                > privileged or otherwise protected from disclosure,
                distributing or<br>
                > copying. Any views or opinions presented in this
                email are solely those<br>
                > of the author and do not necessarily represent
                those of Spicule Limited.<br>
                > The company accepts no liability for any damage
                caused by any virus<br>
                > transmitted by this email. If you have received
                this message in error,<br>
                > please notify us immediately by reply email before
                deleting it from your<br>
                > system. Service of legal notice cannot be effected
                on Spicule Limited by<br>
                > email.<br>
                ><br>
                ><br>
                ><br>
                <br>
              </div>
            </div>
            <span class="HOEnZb"><font color="#888888">--<br>
                Juju mailing list<br>
                <a href="mailto:Juju@lists.ubuntu.com"
                  moz-do-not-send="true">Juju@lists.ubuntu.com</a><br>
                Modify settings or unsubscribe at: <a
                  href="https://lists.ubuntu.com/mailman/listinfo/juju"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">https://lists.ubuntu.com/<wbr>mailman/listinfo/juju</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

<br>
<p><font face="Arial, Helvetica, sans-serif"><span style="font-size:14.6667px">Spicule Limited is registered in England & Wales. Company Number: 09954122. Registered office: First Floor, Telecom House, 125-135 Preston Road, Brighton, England, BN1 6AF. VAT No. 251478891.</span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><font face="Arial, Helvetica, sans-serif"><span style="font-size:14.6667px"><br></span></font></p><p style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em"><font face="Arial, Helvetica, sans-serif"><span style="font-size:14.6667px">All engagements are subject to Spicule Terms and Conditions of Business. This email and its contents are intended solely for the individual to whom it is addressed and may contain information that is confidential, privileged or otherwise protected from disclosure, distributing or copying. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Spicule Limited. The company accepts no liability for any damage caused by any virus transmitted by this email. If you have received this message in error, please notify us immediately by reply email before deleting it from your system. Service of legal notice cannot be effected on Spicule Limited by email.</span></font></p>