Need to find a solution for log4j warning messages on sca core libs and test 
cases
----------------------------------------------------------------------------------

                 Key: TUSCANY-1308
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1308
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-0.90
            Reporter: Luciano Resende
             Fix For: Java-SCA-Next


Discussion thread available here : 
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg17755.html

Today, when we run some samples or test cases, we get an annoying log4j
warnings

log4j:WARN No appenders could be found for logger (
org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.

I have found a way to fix that, basically by adding a project called
log4j-props inside modules, that has a log4j.properties file only, to be
packaged in a jar file, then make the projects that are seeing the annoying
log4j warning messages to include this dependency as <scope>test</scope>

       <dependency>
           <groupId>org.apache.tuscany.sca</groupId>
           <artifactId>tuscany-log4j-props</artifactId>
           <version>1.0-incubating-SNAPSHOT</version>
           <scope>test</scope>
       </dependency>

After the changes, you would see something like :

URLBasedAxisConfigurator.getAxisConfiguration (68) : No repository found ,
module will be loaded from classpath
URLBasedAxisConfigurator.getAxisConfiguration (68) : No repository found ,
module will be loaded from classpath

If people are OK with this, please let me know and I can commit this
changes, and we could start adding the dependencies on demand.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to