avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/factory AsyncLogTargetFactory.java ServletTargetFactory.java
Date Mon, 01 Apr 2002 04:01:33 GMT
colus       02/03/31 20:01:33

  Modified:    all/src/java/org/apache/avalon/excalibur/logger
                        DefaultLogKitManager.java LogKitLoggerManager.java
               all/src/java/org/apache/avalon/excalibur/logger/factory
                        AsyncLogTargetFactory.java
                        ServletTargetFactory.java
  Log:
  Follow naming convention.
  
  Revision  Changes    Path
  1.17      +4 -4      jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/DefaultLogKitManager.java
  
  Index: DefaultLogKitManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/DefaultLogKitManager.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- DefaultLogKitManager.java	22 Mar 2002 07:56:44 -0000	1.16
  +++ DefaultLogKitManager.java	1 Apr 2002 04:01:32 -0000	1.17
  @@ -32,7 +32,7 @@
    *             supports the new framework Logger interface.
    *
    * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
  - * @version CVS $Revision: 1.16 $ $Date: 2002/03/22 07:56:44 $
  + * @version CVS $Revision: 1.17 $ $Date: 2002/04/01 04:01:32 $
    * @since 4.0
    */
   public class DefaultLogKitManager
  @@ -287,10 +287,10 @@
               logger.setPriority( Priority.getPriorityForName( loglevel ) );
               logger.setLogTargets( logTargets );
   
  -            final Configuration[] sub_categories = categories[ i ].getChildren( "category"
);
  -            if( null != sub_categories )
  +            final Configuration[] subCategories = categories[ i ].getChildren( "category"
);
  +            if( null != subCategories )
               {
  -                setupLoggers( targetManager, fullCategory, sub_categories );
  +                setupLoggers( targetManager, fullCategory, subCategories );
               }
           }
       }
  
  
  
  1.5       +4 -4      jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/LogKitLoggerManager.java
  
  Index: LogKitLoggerManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/LogKitLoggerManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LogKitLoggerManager.java	22 Mar 2002 08:45:06 -0000	1.4
  +++ LogKitLoggerManager.java	1 Apr 2002 04:01:32 -0000	1.5
  @@ -28,7 +28,7 @@
    *
    * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.4 $ $Date: 2002/03/22 08:45:06 $
  + * @version CVS $Revision: 1.5 $ $Date: 2002/04/01 04:01:32 $
    * @since 4.0
    */
   public class LogKitLoggerManager
  @@ -286,10 +286,10 @@
               logger.setPriority( Priority.getPriorityForName( loglevel ) );
               logger.setLogTargets( logTargets );
   
  -            final Configuration[] sub_categories = categories[ i ].getChildren( "category"
);
  -            if( null != sub_categories )
  +            final Configuration[] subCategories = categories[ i ].getChildren( "category"
);
  +            if( null != subCategories )
               {
  -                setupLoggers( targetManager, fullCategory, sub_categories );
  +                setupLoggers( targetManager, fullCategory, subCategories );
               }
           }
       }
  
  
  
  1.8       +7 -7      jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/factory/AsyncLogTargetFactory.java
  
  Index: AsyncLogTargetFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/factory/AsyncLogTargetFactory.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- AsyncLogTargetFactory.java	22 Mar 2002 07:56:44 -0000	1.7
  +++ AsyncLogTargetFactory.java	1 Apr 2002 04:01:32 -0000	1.8
  @@ -46,7 +46,7 @@
    * </p>
    *
    * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
  - * @version CVS $Revision: 1.7 $ $Date: 2002/03/22 07:56:44 $
  + * @version CVS $Revision: 1.8 $ $Date: 2002/04/01 04:01:32 $
    * @since 4.0
    */
   public final class AsyncLogTargetFactory
  @@ -77,25 +77,25 @@
           }
   
           final String priority = configuration.getAttribute( "priority", null );
  -        final int thread_priority;
  +        final int threadPriority;
           if( "MIN".equalsIgnoreCase( priority ) )
           {
  -            thread_priority = Thread.MIN_PRIORITY;
  +            threadPriority = Thread.MIN_PRIORITY;
           }
           else if( "NORM".equalsIgnoreCase( priority ) )
           {
  -            thread_priority = Thread.NORM_PRIORITY;
  +            threadPriority = Thread.NORM_PRIORITY;
           }
           else if( "NORM".equalsIgnoreCase( priority ) )
           {
  -            thread_priority = Thread.NORM_PRIORITY;
  +            threadPriority = Thread.NORM_PRIORITY;
           }
           else
           {
  -            thread_priority = configuration.getAttributeAsInteger( "priority", 1 );
  +            threadPriority = configuration.getAttributeAsInteger( "priority", 1 );
           }
           final Thread thread = new Thread( asyncTarget );
  -        thread.setPriority( thread_priority );
  +        thread.setPriority( threadPriority );
           thread.setDaemon( true );
           thread.start();
           return asyncTarget;
  
  
  
  1.9       +3 -3      jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/factory/ServletTargetFactory.java
  
  Index: ServletTargetFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/logger/factory/ServletTargetFactory.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ServletTargetFactory.java	22 Mar 2002 07:56:44 -0000	1.8
  +++ ServletTargetFactory.java	1 Apr 2002 04:01:32 -0000	1.9
  @@ -43,7 +43,7 @@
    * </dl>
    *
    * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
  - * @version CVS $Revision: 1.8 $ $Date: 2002/03/22 07:56:44 $
  + * @version CVS $Revision: 1.9 $ $Date: 2002/04/01 04:01:32 $
    * @since 4.0
    */
   public final class ServletTargetFactory
  @@ -64,8 +64,8 @@
               m_configuration.getAttribute( "context-key", "servlet-context" );
           final ServletContext sctx;
   
  -        final Configuration conf_format = configuration.getChild( "format" );
  -        final Formatter formatter = getFormatter( conf_format );
  +        final Configuration confFormat = configuration.getChild( "format" );
  +        final Formatter formatter = getFormatter( confFormat );
   
           try
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message