You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raj Atchutuni <ra...@yahoo.com> on 2003/08/13 18:05:36 UTC

Re: Helllllllllllllo - Digester Issue

I am using Struts w/ WSAD 5.0 for development.
 
At the start up of the home page on "Orion on Unix" (after deployment) 
i see enormous (could be Digester messages) debug statements,on the 
console, which causing 5-10 mins delay in displaying the page.
I dont see this problem when i am running the application in WSAD on my 
local.
 
Can i switch off these messages so that i can see the first page 
quickly ?
Thanks
Raj
 



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: Helllllllllllllo - Digester Issue

Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Wed, 13 Aug 2003, Raj Atchutuni wrote:

> Date: Wed, 13 Aug 2003 10:38:51 -0700 (PDT)
> From: Raj Atchutuni <ra...@yahoo.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: Struts Users Mailing List <st...@jakarta.apache.org>
> Subject: RE: Helllllllllllllo  - Digester Issue
>
> Craig,
> We are using "log4j-1.2.5.jar".
> following is my log4j.properties file
> -------------------------------------
>

Somebody somewhere must have a setting that turns on trace mode for
Digester stuff in order to get that output.  Try adding something like:

  log4j.logger.org.apache.commons.digester=WARN, stdout

Struts also uses commons-logging, so you can control it's logging levels
by changing the level for "org.apache.struts".

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Helllllllllllllo - Digester Issue

Posted by Raj Atchutuni <ra...@yahoo.com>.
Craig,
We are using "log4j-1.2.5.jar". 
following is my log4j.properties file
-------------------------------------

################################################################################

# Loggers

################################################################################

log4j.rootLogger=FATAL, stdout

log4j.logger.com.manheim.faao=DEBUG, FAAOLog

log4j.logger.com.manheim.faao.action=DEBUG, ActionLog

log4j.logger.com.manheim.faao.formbean=DEBUG, FormBeanLog

log4j.logger.com.manheim.mims.cms=DEBUG, FAAOLog

#log4j.logger.com.manheim.FAAO.controller=DEBUG, ControllerLog

#log4j.logger.com.manheim.FAAO.data=WARN, DataLog

################################################################################

# Appenders

################################################################################

# Appender: stdout

log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

log4j.appender.stdout.layout.ConversionPattern=%-5p %c: %m [%d]%n

log4j.appender.stdout=org.apache.log4j.ConsoleAppender

# Appender: FAAOLog

# appender will create a new file on the first day of each week of the year

log4j.appender.FAAOLog=org.apache.log4j.DailyRollingFileAppender

log4j.appender.FAAOLog.File=./FAAOLog.log

log4j.appender.FAAOLog.DatePattern='.'yyyy-ww

log4j.appender.FAAOLog.layout=org.apache.log4j.PatternLayout

log4j.appender.FAAOLog.layout.ConversionPattern=%m%d%n

log4j.appender.JDBCRequestLog.layout.ConversionPattern=%m

# Appender: ActionLog

# appender will create a new file on the first day of each week of the year

log4j.appender.ActionLog=org.apache.log4j.DailyRollingFileAppender

log4j.appender.ActionLog.File=./action.log

log4j.appender.ActionLog.DatePattern='.'yyyy-ww

log4j.appender.ActionLog.layout=org.apache.log4j.PatternLayout

log4j.appender.ActionLog.layout.ConversionPattern=%m%d%n

log4j.appender.JDBCRequestLog.layout.ConversionPattern=%m

# Appender: FormBeanLog

# appender will create a new file on the first day of each week of the year

log4j.appender.FormBeanLog=org.apache.log4j.DailyRollingFileAppender

log4j.appender.FormBeanLog.File=./formbean.log

log4j.appender.FormBeanLog.DatePattern='.'yyyy-ww

log4j.appender.FormBeanLog.layout=org.apache.log4j.PatternLayout

log4j.appender.FormBeanLog.layout.ConversionPattern=%m%d%n

log4j.appender.JDBCRequestLog.layout.ConversionPattern=%m
-------------------------------------------------------------------



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: Helllllllllllllo - Digester Issue

Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Wed, 13 Aug 2003, Raj Atchutuni wrote:

> Date: Wed, 13 Aug 2003 09:24:14 -0700 (PDT)
> From: Raj Atchutuni <ra...@yahoo.com>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: RE: Helllllllllllllo  - Digester Issue
>
> Mike,
>
> The output messages appear to parsing output from struts configuration files. It has nothing to do with the application debug levels.
> Please see sample below....the out put never ends on the console

It looks like you've got logging configured to turn on trace-level
debugging, which will certainly create lots of output.  You need to figure
out how to change that -- at least for the org.apache.commons.digester
package.  The details of how to do that depend on what logging package
you're using.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Helllllllllllllo - Digester Issue

Posted by Raj Atchutuni <ra...@yahoo.com>.
Mike,
 
The output messages appear to parsing output from struts configuration files. It has nothing to do with the application debug levels.
Please see sample below....the out put never ends on the console
--------------------------------------------
Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'classloader:/org/apache/struts/resources/struts-config_1_0.dtd'
register('-//Apache Software Foundation//DTD Struts Configuration 1.1//EN', 'classloader:/org/apache/struts/resources/struts-config_1_1.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'classloader:/org/apache/struts/resources/web-app_2_2.dtd'
register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'classloader:/org/apache/struts/resources/web-app_2_3.dtd'
Scanning web.xml for controller servlet mapping
setDocumentLocator(org.apache.crimson.parser.Parser2$DocLocator@20bf2c)
startDocument()
resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
 Resolving to alternate DTD 'classloader:/org/apache/struts/resources/web-app_2_2.dtd'
startElement(,web-app,web-app)
  Pushing body text ''
  New match='web-app'
  No rules found matching 'web-app'.
ignorableWhitespace()
ignorableWhitespace(
)
ignorableWhitespace( )
startElement(,display-name,display-name)
  Pushing body text ''
  New match='web-app/display-name'
  No rules found matching 'web-app/display-name'.
characters(FAAOAppWeb)
endElement(,display-name,display-name)
  match='web-app/display-name'
  bodyText='FAAOAppWeb'
  No rules found matching 'web-app/display-name'.
  Popping body text ''
ignorableWhitespace()
ignorableWhitespace(
)
ignorableWhitespace( )
ignorableWhitespace()
ignorableWhitespace(
)
ignorableWhitespace(  )
startElement(,context-param,context-param)
  Pushing body text ''
  New match='web-app/context-param'
  No rules found matching 'web-app/context-param'.
ignorableWhitespace()
ignorableWhitespace(
)
ignorableWhitespace(          )
startElement(,param-name,param-name)
  Pushing body text ''
  New match='web-app/context-param/param-name'
  No rules found matching 'web-app/context-param/param-name'.
characters(CONTENT_SOURCE)
endElement(,param-name,param-name)
  match='web-app/context-param/param-name'
  bodyText='CONTENT_SOURCE'
  No rules found matching 'web-app/context-param/param-name'.
  Popping body text ''
ignorableWhitespace()
--------------------------------------------------------
 
 
Thx,
Raj
 

Mike Jasnowski <mj...@bea.com> wrote:
Have you checked that your logging settings are different in each
environment? What level of messages are being emitted on the machine? It
will usually indicate something like DEBUG, WARN, etc.. in the log entry.
You might just need to crank down the settings.

-----Original Message-----
From: Raj Atchutuni [mailto:raj_strutter@yahoo.com]
Sent: Wednesday, August 13, 2003 12:06 PM
To: struts-user@jakarta.apache.org
Subject: Re: Helllllllllllllo - Digester Issue


I am using Struts w/ WSAD 5.0 for development.

At the start up of the home page on "Orion on Unix" (after deployment)
i see enormous (could be Digester messages) debug statements,on the
console, which causing 5-10 mins delay in displaying the page.
I dont see this problem when i am running the application in WSAD on my
local.

Can i switch off these messages so that i can see the first page
quickly ?
Thanks
Raj




---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: Helllllllllllllo - Digester Issue

Posted by Mike Jasnowski <mj...@bea.com>.
Have you checked that your logging settings are different in each
environment? What level of messages are being emitted on the machine? It
will usually indicate something like DEBUG, WARN, etc.. in the log entry.
You might just need to crank down the settings.

-----Original Message-----
From: Raj Atchutuni [mailto:raj_strutter@yahoo.com]
Sent: Wednesday, August 13, 2003 12:06 PM
To: struts-user@jakarta.apache.org
Subject: Re: Helllllllllllllo - Digester Issue


I am using Struts w/ WSAD 5.0 for development.

At the start up of the home page on "Orion on Unix" (after deployment)
i see enormous (could be Digester messages) debug statements,on the
console, which causing 5-10 mins delay in displaying the page.
I dont see this problem when i am running the application in WSAD on my
local.

Can i switch off these messages so that i can see the first page
quickly ?
Thanks
Raj




---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org