Ignore:
Timestamp:
09/03/13 11:33:46 (11 years ago)
Author:
andmor
Message:

Some more compreensive (non-debug) logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.access.data/access/user.dpml

    r3491 r3511  
    5656                        <level>INFO</level>
    5757                        <message>
    58                                 <literal type="string">[access.data] User accessor verb: %1 with arguments:&#10;%2</literal>
     58                                <literal type="string">[access.data] User accessor verb: [%1] with arguments:&#10;[&#10;%2]</literal>
    5959                        </message>
    6060                        <param>arg:verb</param>
    6161                        <param>this:arguments</param>
    62                         <!-- weird!! first call prints principal 2nd call print object id -->
    6362                </log>
    6463        </sloot-debug>
     
    143142                                        <level>INFO</level>
    144143                                        <message>
    145                                                 <literal type="string">[access.data] Created user[%1] for principal[%2]</literal>
     144                                                <literal type="string">[access.data] Created user: [%1], for principal: [%2]</literal>
    146145                                        </message>
    147146                                        <param>this:new-user-id</param>
     
    254253                        <!-- get the user information -->
    255254                        <sequence>
     255                                <if>
     256                                        <cond>
     257                                                <request>
     258                                                        <verb>EXISTS</verb>
     259                                                        <identifier>scratch:user</identifier>
     260                                                </request>
     261                                        </cond>
     262                                        <then>
     263                                                <log>
     264                                                        <level>INFO</level>
     265                                                        <message>
     266                                                                <literal type="string">[interface.REST] [%1] requested user resource for id: [%2]</literal>
     267                                                        </message>
     268                                                        <param>
     269                                                                <request>
     270                                                                        <identifier>active:sloot.xpath2</identifier>
     271                                                                        <argument name="operand">scratch:user</argument>
     272                                                                        <argument name="operator">
     273                                                                                <literal type="string">string(/sc:user/@xml:id)</literal>
     274                                                                        </argument>
     275                                                                </request>
     276                                                        </param>
     277                                                        <param>arg:id</param>
     278                                                </log>
     279                                        </then>
     280                                </if>
    256281                                <request assignment="response">
    257282                                        <identifier>active:org.basex.query</identifier>
Note: See TracChangeset for help on using the changeset viewer.