axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Rugama <>
Subject RE: AW: AW: Ws Axis2 several logs goes to one log
Date Mon, 21 Jan 2013 09:23:57 GMT

Ok, thanks for explain in detail but no idea if this is the problem i have with the logs



Subject: AW: AW: Ws Axis2 several logs goes to one log
Date: Mon, 21 Jan 2013 10:18:27 +0100

additivity prevents that logging events are propagated toward the root logger or any logger
higher in the hierarchy. log4j forms is a hierarchy of loggers following a
schema; that is to say the logger must have an appender and its additivity
must be set false for that logger to prevent that the same logging event i.e. reaches a logger
i.e. or even the root logger. Josef   Von: Oscar Rugama []

Gesendet: Montag, 21. Januar 2013 10:03
Betreff: RE: AW: Ws Axis2 several logs goes to one log    Hi Morgan, Josef:

    First thanks for answering, i´ll try to answer your questions as best as possible:

    1. Each web service has it´s own
    2. Yes it has unique appender
    3. Could you please explain me what´s additivity?
    4. Yes here you have two example

log4j.rootLogger=ERROR, fileLoggin

# Appender fichero
log4j.appender.fileLoggin.layout.ConversionPattern= [%d{dd MMM yyyy HH:mm:ss}] : %m : %l %n

log4j.rootLogger=ERROR, fileLogginSC

# Appender fichero
log4j.appender.fileLogginSC.layout.ConversionPattern= [%d{dd MMM yyyy HH:mm:ss}] : %m : %l

Thanks in advance for your help

 Kind regards


Subject: AW: Ws Axis2 several logs goes to one log
Date: Mon, 21 Jan 2013 09:52:05 +0100
To: java-user@axis.apache.orgHi, Morgan, Oscar1.     has each web service / class its own
logger defined i.e. in log4j.properties2.     has each logger at least one appender defined,
unique for that logger3.     is for each logger the additivity set to false4.     see example
in appenderJosef     Von: Morgan Humes [] 
Gesendet: Freitag, 18. Januar 2013 13:43
Betreff: Re: Ws Axis2 several logs goes to one log Are you using the same logging category
for all three services? Morgan Oscar Rugama <> wrote: 

        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, 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

--------------------------------------------------------------------- To unsubscribe, e-mail: For additional commands, e-mail:
View raw message