avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor DefaultEmbeddor.java
Date Mon, 05 Nov 2001 23:57:29 GMT
donaldp     01/11/05 15:57:29

  Modified:    src/java/org/apache/avalon/phoenix/components/embeddor
                        DefaultEmbeddor.java
  Log:
  Make different components log to different names.
  
  Revision  Changes    Path
  1.30      +9 -9      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/DefaultEmbeddor.java
  
  Index: DefaultEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/DefaultEmbeddor.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- DefaultEmbeddor.java	2001/11/02 23:31:16	1.29
  +++ DefaultEmbeddor.java	2001/11/05 23:57:29	1.30
  @@ -129,13 +129,13 @@
               createComponents();
   
               // setup core handler components
  -            setupComponent( m_logManager );
  -            setupComponent( m_classLoaderManager );
  -            setupComponent( m_repository );
  -            setupComponent( m_deployer );
  -            setupComponent( m_recorder );
  -            setupComponent( m_systemManager );
  -            setupComponent( m_kernel );
  +            setupComponent( m_logManager, "logs" );
  +            setupComponent( m_classLoaderManager, "classes" );
  +            setupComponent( m_repository, "config" );
  +            setupComponent( m_deployer, "deployer" );
  +            setupComponent( m_recorder, "recorder" );
  +            setupComponent( m_systemManager, "manager" );
  +            setupComponent( m_kernel, "kernel" );
           }
           catch( final Exception e )
           {
  @@ -357,10 +357,10 @@
        * @param component the component
        * @exception Exception if an error occurs
        */
  -    private void setupComponent( final Component component )
  +    private void setupComponent( final Component component, final String loggerName )
           throws Exception
       {
  -        setupLogger( component );
  +        setupLogger( component, loggerName );
   
           if( component instanceof Composable )
           {
  
  
  

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


Mime
View raw message