Hi Michael,<div><br></div><div>actually we do use the TrackableV1 interface for resources, but I realized that those key/value pairs from the "internal" requests are not in the log entries.</div><div>So maybe I eliminate that "include" or I will write an additional entry into the logfile from the "internal" resource (which is not so nice).</div>
<div><br></div><div>Have to think about it.</div><div><br></div><div>Cheers</div><div>Balz<br><div><br><br><div title="signature"> </div><div class="gmail_quote">On Thu, Oct 6, 2011 at 4:16 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Balz<br>
    <br>
    Am 06.10.11 14:58, schrieb basZero:
    <div class="im"><blockquote type="cite">Hi,
      <div><br>
      </div>
      <div>the new feature for a resource to implement TrackableV1 is
        nice.</div>
      <div>But I just noticed, that if you use an xinclude, the
        trackInfo() method does not get called on the included resource.</div>
      <div>
        <br>
      </div>
      <div>Example:</div>
      <div>- User goes to a URL that matches resource A</div>
      <div>- that page does an xinclude (like <a href="https://github.com/wyona/yanel/issues/1" target="_blank">https://github.com/wyona/yanel/issues/1</a>
        )</div>
    </blockquote>
    <br></div>
    IIRC when using the protocol
    
    <code>"yanelresource:" then the YanelServlet is not being called,
      but rather the resource manager directly and since the access
      logging is done by the YanelServlet, such "internal" requests are
      not being logged.<br>
    </code><div class="im">
    <blockquote type="cite">
      <div>- the included realm path matches resource B</div>
      <div>- even though B implements TrackableV1, the trackInfo() does
        not get called.</div>
      <div><br>
      </div>
      <div>Bug or missing feature?</div>
    </blockquote>
    <br></div>
    I would consider it's a feature (see my above explanation). I guess
    the question is who should be responsible for the logging.<br>
    <br>
    What is the reason that you don't want your "container" (I mean the
    rescource which is called via http through the YanelServlet) to
    implement trackable? Because of re-usability of code?<br>
    <br>
    Thanks<br><font color="#888888">
    <br>
    Michael</font><div class="im"><br>
    <blockquote type="cite">
      <div><br>
      </div>
      <div>Cheers</div>
      <div>Balz</div>
      <div>
        <div title="signature"> </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"><br>
              Am 06.10.11 14:51, schrieb basZero:
              <div>
                <div>
                  <blockquote type="cite">Hoi Michi,
                    <div><br>
                    </div>
                    <div>ich verwende ja ein xinclude.</div>
                    <div>Sprich der Original Request matched auf
                      Resource A, intern wird ein include gemacht, das
                      auf Resource B matched.</div>
                    <div><br>
                    </div>
                    <div>Mir ist nun folgendes aufgefallen:</div>
                    <div>- Auch wenn Resource B TrackableV1
                      implementiert, sieht man die Daten nicht im access
                      log.</div>
                    <div>- Ist das korrekt oder ein Bug?</div>
                    <div><br>
                    </div>
                    <div>Gruss</div>
                    <div>Balz<br>
                      <div title="signature">
                        <p><span style="color:#808080;font-family:'andale mono', times;font-size:small"><strong>Balz
                              Schreier</strong></span><br>
                          <span style="color:#999999;font-family:'andale mono', times;font-size:small"><span style="color:#000000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10px"><span style="color:#999999;font-family:'andale mono', times;font-size:small">Zwischengas

                                AG</span><br>
                            </span>CTO / Fotograf</span><span style="color:#999999;font-family:'andale mono', times;font-size:small"> <br>
                            <br>
                            <span style="font-size:x-small;font-family:'andale mono', times">Kürzlich publizierter
                              Highlight: <a href="http://www.zwischengas.com/de/HR/rennberichte/Arosa-ClassicCar-2011-Sonne-Freude-Geschwindigkeit.html" target="_blank">Arosa ClassicCar 2011</a></span></span></p>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div>

<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br></div></div>