cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From step...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java log.xsl
Date Wed, 05 Mar 2003 19:42:53 GMT
stephan     2003/03/05 11:42:53

  Modified:    .        changes.xml
               src/java/org/apache/cocoon/components/language/markup/xsp/java
                        log.xsl
  Log:
  Fix bug 16695, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16695
  
  Revision  Changes    Path
  1.362     +4 -1      xml-cocoon2/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/changes.xml,v
  retrieving revision 1.361
  retrieving revision 1.362
  diff -u -r1.361 -r1.362
  --- changes.xml	3 Mar 2003 22:44:10 -0000	1.361
  +++ changes.xml	5 Mar 2003 19:42:52 -0000	1.362
  @@ -41,6 +41,9 @@
    </devs>
   
    <release version="@version@" date="@date@">
  +  <action dev="SMS" type="fix" fixes-bug="16695" due-to="Leszek Gawron" due-to-email="ouzo@vip.net.pl">
  +   Changed category for Log logicsheets.
  +  </action>
     <action dev="GR" type="add">
      Extended the HTMLGenerator so that it can handle HTML snippets
      provided as request parameter or as POST data, passing them through
  
  
  
  1.7       +3 -3      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/log.xsl
  
  Index: log.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/log.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- log.xsl	31 Jan 2003 23:28:23 -0000	1.6
  +++ log.xsl	5 Mar 2003 19:42:53 -0000	1.7
  @@ -110,7 +110,7 @@
         if (getLogger() == null) {
             try {
               String category = <xsl:value-of select="$name"/>;
  -            org.apache.log.Logger logger = org.apache.log.Hierarchy.getDefaultHierarchy().getLoggerFor("cocoon"
+ (("".equals(category))? category : "." + category));
  +            org.apache.log.Logger logger = org.apache.log.Hierarchy.getDefaultHierarchy().getLoggerFor(
category );
   <!--
               if (!"".equals(<xsl:value-of select="$filename"/>)) {
                   String file = this.avalonContext.get(org.apache.cocoon.Constants.CONTEXT_LOG_DIR)
+ <xsl:value-of select="$filename"/>;
  
  
  

Mime
View raw message