cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/bean CocoonBean.java
Date Mon, 03 Feb 2003 13:06:10 GMT
cziegeler    2003/02/03 05:06:10

  Modified:    src/java/org/apache/cocoon/bean CocoonBean.java
  Log:
  Cleaning code
  
  Revision  Changes    Path
  1.4       +3 -3      xml-cocoon2/src/java/org/apache/cocoon/bean/CocoonBean.java
  
  Index: CocoonBean.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/bean/CocoonBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CocoonBean.java	2 Feb 2003 23:28:16 -0000	1.3
  +++ CocoonBean.java	3 Feb 2003 13:06:10 -0000	1.4
  @@ -321,7 +321,7 @@
       public void setLogLevel(String logLevel) {
           final Priority priority = Priority.getPriorityForName(logLevel);
           Hierarchy.getDefaultHierarchy().setDefaultPriority(priority);
  -        this.log = Hierarchy.getDefaultHierarchy().getLoggerFor("");
  +        CocoonBean.log = Hierarchy.getDefaultHierarchy().getLoggerFor("");
       }
   
       /**
  @@ -377,7 +377,7 @@
       }
   
       public Logger getLogger(){
  -        return this.log;
  +        return CocoonBean.log;
       }
   
       public boolean isPrecompileOnly(){
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message