Ignore:
Timestamp:
29/09/08 16:05:29 (11 years ago)
Author:
pjkersha
Message:

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/documentation/epydoc/ndg.security.server.Log.Log-class.html

    r3153 r4245  
    6060</table> 
    6161<!-- ==================== CLASS DESCRIPTION ==================== --> 
    62 <h1 class="epydoc">Class Log</h1><span class="codelink"><a href="ndg.security.server.Log-pysrc.html#Log">source&nbsp;code</a></span><br /><br /> 
     62<h1 class="epydoc">Class Log</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.server.Log-pysrc.html#Log">source&nbsp;code</a></span></p> 
    6363<center> 
    64 <center>  <map id="uml_class_diagram_for_ndg_secu_141" name="uml_class_diagram_for_ndg_secu_141"> 
    65 <area shape="rect" href="javascript: void(0);" title="Instances of the Logger class represent a single logging channel." alt="" coords="15,56,67,72"/> 
    66 <area shape="rect" href="ndg.security.server.Log.Log&#45;class.html" title="NDG Security Logging class" alt="" coords="15,101,67,117"/> 
    67 <area shape="rect" href="javascript: void(0);" title="A base class for loggers and handlers which allows them to share common code." alt="" coords="15,11,67,27"/> 
     64<center>  <map id="uml_class_diagram_for_ndg_secu_199" name="uml_class_diagram_for_ndg_secu_199"> 
     65<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html#msgFmt" title="ndg.security.server.Log.Log.msgFmt" alt="" coords="17,28,311,47"/> 
     66<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html#dateFmt" title="ndg.security.server.Log.Log.dateFmt" alt="" coords="17,47,311,65"/> 
     67<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html#maxBytes" title="ndg.security.server.Log.Log.maxBytes" alt="" coords="17,65,311,84"/> 
     68<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html#backUpCnt" title="ndg.security.server.Log.Log.backUpCnt" alt="" coords="17,84,311,103"/> 
     69<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html#__init__" title="NDG Logging class" alt="" coords="17,105,311,124"/> 
     70<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html" title="NDG Security Logging class" alt="" coords="16,11,312,125"/> 
    6871</map> 
    69   <img src="uml_class_diagram_for_ndg_secu_141.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_141" ismap="ismap" class="graph-without-title" /> 
    70 </center></center> 
     72  <img src="uml_class_diagram_for_ndg_secu_199.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_199" ismap="ismap" class="graph-without-title" /> 
     73</center> 
     74</center> 
    7175<hr /> 
    72 NDG Security Logging class<br /><br /> 
     76<p>NDG Security Logging class</p> 
    7377 
    7478<!-- ==================== INSTANCE METHODS ==================== --> 
     
    97101          <td><span class="summary-sig"><a href="ndg.security.server.Log.Log-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 
    98102        <span class="summary-sig-arg">name</span>=<span class="summary-sig-default">None</span>, 
    99         <span class="summary-sig-arg">sysLogHandlerKw</span>=<span class="summary-sig-default"><code class="variable-group">{</code><code class="variable-group">}</code></span>)</span><br /> 
     103        <span class="summary-sig-arg">sysLogHandlerKw</span>=<span class="summary-sig-default">{}</span>)</span><br /> 
    100104      NDG Logging class</td> 
    101105          <td align="right" valign="top"> 
     
    106110      </table> 
    107111       
    108     </td> 
    109   </tr> 
    110   <tr> 
    111     <td colspan="2" class="summary"> 
    112     <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>: 
    113       <code>addHandler</code>, 
    114       <code>callHandlers</code>, 
    115       <code>critical</code>, 
    116       <code>debug</code>, 
    117       <code>error</code>, 
    118       <code>exception</code>, 
    119       <code>fatal</code>, 
    120       <code>findCaller</code>, 
    121       <code>getEffectiveLevel</code>, 
    122       <code>handle</code>, 
    123       <code>info</code>, 
    124       <code>isEnabledFor</code>, 
    125       <code>log</code>, 
    126       <code>makeRecord</code>, 
    127       <code>removeHandler</code>, 
    128       <code>setLevel</code>, 
    129       <code>warn</code>, 
    130       <code>warning</code> 
    131       </p> 
    132     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b> (private): 
    133       <code>_log</code> 
    134       </p></div> 
    135     <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Filterer</code></b>: 
    136       <code>addFilter</code>, 
    137       <code>filter</code>, 
    138       <code>removeFilter</code> 
    139       </p> 
    140112    </td> 
    141113  </tr> 
     
    162134      <span class="summary-type">&nbsp;</span> 
    163135    </td><td class="summary"> 
    164         <a name="msgFmt"></a><span class="summary-name">msgFmt</span> = <code title="'%(asctime)s %(name)s: %(levelname)-8s %(message)s'"><code class="variable-quote">'</code><code class="variable-string">%(asctime)s %(name)s: %(levelname)-8s %(message)s</code><code class="variable-quote">'</code></code> 
    165     </td> 
    166   </tr> 
    167 <tr> 
    168     <td width="15%" align="right" valign="top" class="summary"> 
    169       <span class="summary-type">&nbsp;</span> 
    170     </td><td class="summary"> 
    171         <a name="dateFmt"></a><span class="summary-name">dateFmt</span> = <code title="'%d %b %Y %H:%M:%S'"><code class="variable-quote">'</code><code class="variable-string">%d %b %Y %H:%M:%S</code><code class="variable-quote">'</code></code> 
     136        <a name="msgFmt"></a><span class="summary-name">msgFmt</span> = <code title="'%(asctime)s %(name)s: %(levelname)-8s %(message)s'">'%(asctime)s %(name)s: %(levelname)-8s %(message)s'</code> 
     137    </td> 
     138  </tr> 
     139<tr> 
     140    <td width="15%" align="right" valign="top" class="summary"> 
     141      <span class="summary-type">&nbsp;</span> 
     142    </td><td class="summary"> 
     143        <a name="dateFmt"></a><span class="summary-name">dateFmt</span> = <code title="'%d %b %Y %H:%M:%S'">'%d %b %Y %H:%M:%S'</code> 
    172144    </td> 
    173145  </tr> 
     
    184156    </td><td class="summary"> 
    185157        <a name="backUpCnt"></a><span class="summary-name">backUpCnt</span> = <code title="10">10</code> 
    186     </td> 
    187   </tr> 
    188   <tr> 
    189     <td colspan="2" class="summary"> 
    190     <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>: 
    191       <code>manager</code>, 
    192       <code>root</code> 
    193       </p> 
    194158    </td> 
    195159  </tr> 
     
    222186  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 
    223187        <span class="sig-arg">name</span>=<span class="sig-default">None</span>, 
    224         <span class="sig-arg">sysLogHandlerKw</span>=<span class="sig-default"><code class="variable-group">{</code><code class="variable-group">}</code></span>)</span> 
     188        <span class="sig-arg">sysLogHandlerKw</span>=<span class="sig-default">{}</span>)</span> 
    225189    <br /><em class="fname">(Constructor)</em> 
    226190  </h3> 
     
    228192    ><span class="codelink"><a href="ndg.security.server.Log-pysrc.html#Log.__init__">source&nbsp;code</a></span>&nbsp; 
    229193    </td> 
    230   </table> 
     194  </tr></table> 
    231195   
    232196  <p>NDG Logging class</p> 
    233   logName:        provide a log name logFilePath:    if set, write to a  
     197  <p>logName:        provide a log name logFilePath:    if set, write to a  
    234198  log file given by the path console:        Set to True to send output to  
    235   the stderr 
     199  the stderr</p> 
    236200  <dl class="fields"> 
    237     <dt>Overrides: 
    238       logging.Logger.__init__ 
    239     </dt> 
    240201  </dl> 
    241202</td></tr></table> 
     
    274235    <td align="left" class="footer"> 
    275236    <a href="epydoc-log.html">Generated by Epydoc 
    276     3.0beta1 on Mon Dec 17 09:22:47 2007</a> 
     237    3.0.1 on Thu Sep  4 09:37:49 2008</a> 
    277238    </td> 
    278239    <td align="right" class="footer"> 
    279       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     240      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     241        >http://epydoc.sourceforge.net</a> 
    280242    </td> 
    281243  </tr> 
     
    288250  // visible); but by default, we want to hide them.  So hide 
    289251  // them unless we have a cookie that says to show them. 
    290   checkCookie() 
     252  checkCookie(); 
    291253  // --> 
    292254</script> 
    293    
    294255</body> 
    295256</html> 
Note: See TracChangeset for help on using the changeset viewer.