Hi, Morgan, Oscar

1.     has each web service / class its own logger defined i.e. in 
log4j.properties

2.     has each logger at least one appender defined, unique for that logger

3.     is for each logger the additivity set to false

4.     see example in appender

Josef

 

 

 

 

 

Von: Morgan Humes [mailto:mhu...@globalinx.com] 
Gesendet: Freitag, 18. Januar 2013 13:43
An: java-user@axis.apache.org
Betreff: Re: Ws Axis2 several logs goes to one log

 

Are you using the same logging category for all three services?
 
Morgan
 
Oscar Rugama <oscas...@hotmail.com> wrote:
 


    Hi,

        I´ve deployed three web Services on my Axis2 container and something 
stranged it´s happening, i thinki it´s not critial at all, but at least it 
bother us.

        As i said, we have deployed three web services nad each webservice has 
its own log4j with its own log4.properties, what it happens it´´s than when 
axis2 starts, all the logs all of these three web services goes to only log. 
I´ll explain with example

  ie:     Ws1 has log1
           Ws2 has log2
           Ws3 has log3

  If i deploy ws in this way, first Ws1, Sencond Ws2 and third Ws3 , all the 
logs will go to log3

  If i undeploy Ws2 and deploy again Ws2 what it happens it´s that all logs go 
to log2.

  Every time i redeploy a Ws all the logs go to the log of the Ws i´ve deployed

  Are there any way to have three logs working separately? Each Ws with eahc log

 Thanks 
Regards,
 Oscar

Attachment: log4j.properties
Description: log4j.properties

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to