I think you may have a problem with additivity, but I'm not sure. Check the 
log4j docs regarding that topic. Here is my log4j.properties so it helps you a 
bit:

log4j.rootLogger = OFF, ConsoleApp
log4j.logger.org.springframework = INFO, ConsoleApp
log4j.logger.org.apache.axis = INFO, ConsoleApp

log4j.additivity.org.springframework = false
log4j.additivity.org.apache.axis = false

log4j.appender.ConsoleApp = org.apache.log4j.ConsoleAppender
log4j.appender.ConsoleApp.layout=la.integra.logs.IntegraPatternLayout
log4j.appender.ConsoleApp.layout.ConversionPattern=[%d{ISO8601}][%-5p]
[%X{transID}][%C.%M][%X{transDesc}][%X{user}][%X{gsm}][%m][%X{data}]%n

Hope it helps

On Tuesday 05 August 2008 10:59:06 am Ashish Kulkarni wrote:
> Hi
>
> Yes rootLogger level is DEBUG, so do i have to change rootLogger level, can
> i not control by level category
>
> Ash
>
> On Tue, Aug 5, 2008 at 11:16 AM, David Ojeda <[EMAIL PROTECTED]> wrote:
> > Maybe the rootLogger is in DEBUG level...
> >
> > On Tuesday 05 August 2008 10:30:51 am Ashish Kulkarni wrote:
> > > Hi
> > >
> > > I am working on a web application which uses Log4j for logging, i added
> > > Axis2.0 to this web application and added following lines to control
> > > logging
> > >
> > >   <category name="log4j.logger.org.apache.axis">
> > >   <priority value="WARN">
> > >   </priority>
> > >   <appender-ref ref= "STDOUT" />
> > >   </category>
> > >
> > >  <category name="log4j.logger.org.apache.axis2">
> > >   <priority value="WARN">
> > >   </priority>
> > >   <appender-ref ref= "STDOUT" />
> > >   </category>
> > >
> > > But still i am getting a lot of output in my log file like below, how
> > > do
> >
> > i
> >
> > > stop this?
> > >
> > > 2008-08-05 10:51:25,276 DEBUG [Thread-1] i18n.ProjectResourceBundle
> > > (ProjectResourceBundle.java:70) -
> > > org.apache.axis2.i18n.resource::handleGetObject(addingnewmodule)
> > > 2008-08-05 10:51:25,276 DEBUG [Thread-1] deployment.DeploymentEngine
> > > (DeploymentEngine.java:465) - Adding new module
> > > 2008-08-05 10:51:25,697 DEBUG [Thread-1] engine.Phase (Phase.java:96) -
> > > Handler AddressingOutHandler added to Phase MessageOut
> > > 2008-08-05 10:51:25,697 DEBUG [Thread-1] engine.Phase (Phase.java:96) -
> > > Handler AddressingOutHandler added to Phase MessageOut
> > > 2008-08-05 10:51:25,775 DEBUG [Thread-1] description.AxisService
> > > (AxisService.java:716) - mapActionToOperation: Mapping Action to
> >
> > Operation:
> > > action: getVersionRequest; operation:
> > > [EMAIL PROTECTED]
> > > 2008-08-05 10:51:25,775 DEBUG [Thread-1] description.AxisService
> > > (AxisService.java:716) - mapActionToOperation: Mapping Action to
> >
> > Operation:
> > > action: getVersionResponse; operation:
> > > [EMAIL PROTECTED]
> > > 2008-08-05 10:51:25,759 INFO [Thread-1] util.Utils (Utils.java:191) -
> > > Created temporary file :
> >
> > C:\server\Tomcat5.5.26\work\Catalina\localhost\testapp\axis218320version-
> >1.
> >
> > >3.aar 2008-08-05 10:51:25,759 DEBUG [Thread-1] util.StAXUtils
> > > (StAXUtils.java:191) - XMLStreamReader is
> > > com.ctc.wstx.sr.ValidatingStreamReader
> > >
> > >
> > > Ash
> >
> > --
> > Ing. David Ojeda
> > Integra Consultores
> > Caracas, Venezuela
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]



-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

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

Reply via email to