Re: RE: Debug ON/OFF

2004-03-16 Thread Tools
In your web.xml, for Action servlet the following init params will be declared.
Give them a value greater than 0 to make it ON and 0 to OFF.

  debug
  0


  detail
  0

> I am not using logging yet. Struts is using I think Log4j. Which is in
> commonsLogging.jar. 
> If I want to make debug statements of struts programms on or off what should I
> do?
> Shashank S. Dixit 
> Cognizant Technology Solutions Pvt. Ltd. 
> Hinjewadi,
> Pune
> Mobile : 98904 25400 
> An Obstacle is something you see when you take your eyes off the goal.
> -Original Message-
> From: kishor Patil [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 1 March 2004 7:12 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Debug ON/OFF
> Hi Shashank,
>   First check out which logging tools you are using. By default the
> commomns-logging uses hte Simple-Logging. 
>   If you are using the log4j for logging purpose, then check out the
> log4j.properties file. If there is no properties then add one overridding the
> default setting.
> thanks and regards
> kishor
> -Original Message-
> From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 01, 2004 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: Debug ON/OFF
> Hi All
> Anybody knows how to make debug on/off to make on/off struts-logging messages.
> 
> I couldn't see any xml file for struts logging,
> Pls tell me how to make debug ON or OFF.
> Shashank S. Dixit 
> Cognizant Technology Solutions Pvt. Ltd. 
> Hinjewadi,
> Pune
> Mobile : 98904 25400 
> An Obstacle is something you see when you take your eyes off the goal.

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



RE: Debug ON/OFF

2004-03-01 Thread kishor Patil
Hi Shashank,
If you have not configured the Struts Logging mechnism i.e. log4j /
jdk1.4 is not in the classpath. Then the Struts makes use of the SimpleLog. 

Simple implementation of Log that sends all enabled log messages, for all
defined loggers, to System.err. The following system properties are
supported to configure the behavior of this logger:

org.apache.commons.logging.simplelog.defaultlog - Default logging detail
level for all instances of SimpleLog. Must be one of ("trace", "debug",
"info", "warn", "error", or "fatal"). If not specified, defaults to "info". 

org.apache.commons.logging.simplelog.log.x - Logging detail level for a
SimpleLog instance named "x". Must be one of ("trace", "debug", "info",
"warn", "error", or "fatal"). If not specified, the default logging detail
level is used. 

org.apache.commons.logging.simplelog.showlogname - Set to true if you want
the Log instance name to be included in output messages. Defaults to false. 

org.apache.commons.logging.simplelog.showShortLogname - Set to true if you
want the last componet of the name to be included in output messages.
Defaults to true. 

org.apache.commons.logging.simplelog.showdatetime - Set to true if you want
the current date and time to be included in output messages. Default is
false. 


I think this will help you out. Set the system properties as mentioned above

kishor


-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 2:39 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: Debug ON/OFF


I am not using logging yet. Struts is using I think Log4j. Which is in
commonsLogging.jar. 
If I want to make debug statements of struts programms on or off what should
I do?

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



-Original Message-
From: kishor Patil [mailto:[EMAIL PROTECTED] 
Sent: Monday, 1 March 2004 7:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Debug ON/OFF


Hi Shashank,
First check out which logging tools you are using. By default the
commomns-logging uses hte Simple-Logging. 
If you are using the log4j for logging purpose, then check out the
log4j.properties file. If there is no properties then add one overridding
the default setting.

thanks and regards
kishor

-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: Debug ON/OFF


Hi All

Anybody knows how to make debug on/off to make on/off struts-logging
messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.




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

RE: Debug ON/OFF

2004-03-01 Thread Dixit, Shashank (Cognizant)
I am not using logging yet. Struts is using I think Log4j. Which is in 
commonsLogging.jar. 
If I want to make debug statements of struts programms on or off what should I do?

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



-Original Message-
From: kishor Patil [mailto:[EMAIL PROTECTED] 
Sent: Monday, 1 March 2004 7:12 PM
To: 'Struts Users Mailing List'
Subject: RE: Debug ON/OFF


Hi Shashank,
First check out which logging tools you are using. By default the 
commomns-logging uses hte Simple-Logging. 
If you are using the log4j for logging purpose, then check out the 
log4j.properties file. If there is no properties then add one overridding the default 
setting.

thanks and regards
kishor

-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: Debug ON/OFF


Hi All

Anybody knows how to make debug on/off to make on/off struts-logging messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

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

RE: Debug ON/OFF

2004-03-01 Thread kishor Patil
Hi Shashank,
First check out which logging tools you are using. By default the
commomns-logging uses hte Simple-Logging. 
If you are using the log4j for logging purpose, then check out the
log4j.properties file. If there is no properties then add one overridding
the default setting.

thanks and regards
kishor

-Original Message-
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject: Debug ON/OFF


Hi All

Anybody knows how to make debug on/off to make on/off struts-logging
messages. 
I couldn't see any xml file for struts logging,
Pls tell me how to make debug ON or OFF.

Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



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

RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-03 Thread Colin Foulkes
Yes, that was the problem.

Thanks a lot..

Colin

-Original Message-
From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED]
Sent: December 2, 2003 12:54 PM
To: Struts Users Mailing List
Subject: RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in
Eclipse


If I recall ... You bring up preferences, expand Tomcat, choose the "Source
Path", and choose the projects you wish the source to be found for.

HTH, Mike

-Original Message-
From: Colin Foulkes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:21 AM
To: Struts Users Mailing List
Subject: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse


Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and
navigate to my struts application..

The IDE breaks at the correct place in the application (the debug
information .. variables, location, stack etc. are all shown fine, but there
is no highlighted line in the relevant java code window. I can perform debug
stepping OK, but there is no viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


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

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


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



RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-02 Thread Andrew Hill
I encountered this after upgrading to version 2.2 of the plugin.

I switched back to version 2.1 and that fixed it. I guess our best bet is to
use the 2.1 plugin for the time being and wait for a newer version to come
out.


-Original Message-
From: Colin Foulkes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 December 2003 00:21
To: Struts Users Mailing List
Subject: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse


Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and
navigate to my struts application..

The IDE breaks at the correct place in the application (the debug
information .. variables, location, stack etc. are all shown fine, but there
is no highlighted line in the relevant java code window. I can perform debug
stepping OK, but there is no viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


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



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



RE: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse

2003-12-02 Thread Witt, Mike (OH35)
If I recall ... You bring up preferences, expand Tomcat, choose the "Source
Path", and choose the projects you wish the source to be found for.

HTH, Mike

-Original Message-
From: Colin Foulkes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 11:21 AM
To: Struts Users Mailing List
Subject: Debug/Breakpoint Problem with Sysdeo Tomcat Plugin in Eclipse


Hi,

I have a strange problem with the Sysdeo Tomcat plugin.
I set a breakpoint in a java class (struts action), launch Tomcat and
navigate to my struts application..

The IDE breaks at the correct place in the application (the debug
information .. variables, location, stack etc. are all shown fine, but there
is no highlighted line in the relevant java code window. I can perform debug
stepping OK, but there is no viual confirmation in the code window.

Has anyone else noticed this? Can someone suggest a solution?

Thanks in advance..

Colin


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

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



Re: Debug output

2003-11-04 Thread Manish Singla
Following link may answer your problem

http://jakarta.apache.org/struts/userGuide/configuration.html#config_logging

Thanks
Manish
Norr, Peter wrote:
Does anyone have more detail on how to adjust the logging level in struts?

Peter

-Original Message-
From: Micael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 2:10 PM
To: Struts Users Mailing List
Subject: Re: Debug output

Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:

How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

---
---
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of

this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded
as

an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be

secure or error-free.  Therefore, we do not represent that this information
is

complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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


--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Thanks
Manish Singla
x73166
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Debug output

2003-11-04 Thread Yee, Richard K,,DMDCWEST
Peter,
Try setting the debug parameter for the action servlet in the web.xml file
to 0. Also, if you use Log4j, you can set the logging level of
org.apache.struts to something higher than DEBUG.

-Richard


-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 11:15 AM
To: 'Struts Users Mailing List'
Subject: RE: Debug output


Does anyone have more detail on how to adjust the logging level in struts?

Peter


-Original Message-
From: Micael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 2:10 PM
To: Struts Users Mailing List
Subject: Re: Debug output


Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:
>How do I adjust the logging level of struts?
>
>I am getting way too many DEBUG messages..
>
>Peter
>
>---
>---
>This message is intended only for the personal and confidential use of 
>the designated recipient(s) named above.  If you are not the intended 
>recipient
of
>this message you are hereby notified that any review, dissemination, 
>distribution or copying of this message is strictly prohibited.  This 
>communication is for information purposes only and should not be 
>regarded
as
>an offer to sell or as a solicitation of an offer to buy any financial 
>product, an official confirmation of any transaction, or as an official 
>statement of Lehman Brothers.  Email transmission cannot be guaranteed 
>to
be
>secure or error-free.  Therefore, we do not represent that this 
>information
is
>complete or accurate and it should not be relied upon as such.  All 
>information is subject to change without notice.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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




--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient
of this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information
is complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


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

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



RE: Debug output

2003-11-04 Thread Norr, Peter
Does anyone have more detail on how to adjust the logging level in struts?

Peter


-Original Message-
From: Micael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2003 2:10 PM
To: Struts Users Mailing List
Subject: Re: Debug output


Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:
>How do I adjust the logging level of struts?
>
>I am getting way too many DEBUG messages..
>
>Peter
>
>---
>---
>This message is intended only for the personal and confidential use of the
>designated recipient(s) named above.  If you are not the intended recipient
of
>this message you are hereby notified that any review, dissemination,
>distribution or copying of this message is strictly prohibited.  This
>communication is for information purposes only and should not be regarded
as
>an offer to sell or as a solicitation of an offer to buy any financial
>product, an official confirmation of any transaction, or as an official
>statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be
>secure or error-free.  Therefore, we do not represent that this information
is
>complete or accurate and it should not be relied upon as such.  All
>information is subject to change without notice.
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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



--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


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



Re: Debug output

2003-11-04 Thread Micael
Look in WEB-INF/classes.

At 02:06 PM 11/3/2003, you wrote:
How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



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


RE: Debug output

2003-11-03 Thread Ramadoss Chinnakuzhandai
Try
set Threshold level to higher in your root logger or log4j.properties/xml file(Levels 
Fatal>>Error>>Warn>>Info>>Debug).
-Ram


-Original Message-
From: Norr, Peter [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2003 5:06 PM
To: 'Struts Users Mailing List'
Subject: Debug output


How do I adjust the logging level of struts?

I am getting way too many DEBUG messages..

Peter

--
This message is intended only for the personal and confidential use of the
designated recipient(s) named above.  If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited.  This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
secure or error-free.  Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such.  All
information is subject to change without notice.


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


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



RE: debug level of struts...

2003-09-05 Thread Pady Srinivasan

This did not work for me also. And looking at ActionServlet code, I am not
even sure if this is used anywhere. Also this is deprecated.

Also Navjot had suggested to set

org.apache.struts = FINE  in jre/lib/logging.properties.

This didn't work. But when I set

java.util.logging.ConsoleHandler.level = FINE in jre/lib/logging.properties

I get all debug messages. But for this to work, make sure you are using 1.4
VM and don't have log4j in your classpath. Else you have to set the log4j
properties file for log levels.


Took some digging into Struts, commons-logging, JDK 1.4 logging source and
docs.



Thanks
 
-- pady
[EMAIL PROTECTED]
 

-Original Message-
From: José Gustavo Zagato [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 9:17 AM
To: 'Struts Users Mailing List'
Subject: RE: debug level of struts...

Hey Folks !

I tried This configuration, and it seams that it don't change
anything to me... any ideias ?


  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]


-Original Message-
From: Peter Smith [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 5 de setembro de 2003 09:25
To: Struts Users Mailing List
Subject: Re: debug level of struts...

Hi Pady,

You might try adding this to your action servlet in web.xml:


  debug
  99


Let me know if this works for you,

Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Pady Srinivasan <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Fri, 5 Sep 2003 08:10:33 -0400
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out
? Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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




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

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



RE: debug level of struts...

2003-09-05 Thread José Gustavo Zagato
Hey Folks !

I tried This configuration, and it seams that it don’t change
anything to me... any ideias ?


  José Gustavo Zagato Rosa
System Analyst - Atos Origin
[EMAIL PROTECTED]


-Original Message-
From: Peter Smith [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 5 de setembro de 2003 09:25
To: Struts Users Mailing List
Subject: Re: debug level of struts...

Hi Pady,

You might try adding this to your action servlet in web.xml:


  debug
  99


Let me know if this works for you,

Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Pady Srinivasan <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Fri, 5 Sep 2003 08:10:33 -0400
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out
? Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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




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



RE: debug level of struts...

2003-09-05 Thread Navjot Singh
quick dirty way :-)

In you jdk installation dir..look out for logging.properties

and append the following line in the end
org.apache.struts = FINE

navjot

|-Original Message-
|From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
|Sent: Friday, September 05, 2003 5:41 PM
|To: [EMAIL PROTECTED]
|Subject: debug level of struts...
|
|
|
|
|Is there a way to make Struts print out more messages to standard 
|out ? Like
|when it loads the form-bean and resets form values into the jsp ?
|
|Thanks
| 
|-- pady
|[EMAIL PROTECTED]
| 
|
|
|-
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|

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



Re: debug level of struts...

2003-09-05 Thread Peter Smith
Hi Pady,

You might try adding this to your action servlet in web.xml:


  debug
  99


Let me know if this works for you,

Peter
-- 
Peter Smith
Software Engineer
InfoNow Corporation

> From: Pady Srinivasan <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Fri, 5 Sep 2003 08:10:33 -0400
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out ? Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



RE: debug level of struts...

2003-09-05 Thread Bradley Handy
http://jakarta.apache.org/struts/userGuide/building_controller.html#logg
ing

> -Original Message-
> From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 8:11 AM
> To: [EMAIL PROTECTED]
> Subject: debug level of struts...
> 
> 
> 
> Is there a way to make Struts print out more messages to standard out
?
> Like
> when it loads the form-bean and resets form values into the jsp ?
> 
> Thanks
> 
> -- pady
> [EMAIL PROTECTED]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



RE: Debug Struts in Tomcat

2002-07-16 Thread Jason Rosen

I don't know much about Eclipse, but I use an Ant task that uses the Tomcat
manager app to reload my web app after I deploy it.  I also compile, build,
and deploy my web app from Ant, which allows me to run a single task that
takes care of everything at once at the click of a button: compile, build,
undeploy web app on Tomcat, copy to app server deploy directory, deploy app
on Tomcat.  If Eclipse incorporates Ant or another make-like facility, then
you could use a similar methodology.
Take a look at the Tomcat manager app for reloading your application
on-the-fly:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

Jason

-Original Message-
From: Hoang, Hai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 9:24 AM
To: 'struts-user'
Subject: Debug Struts in Tomcat


I am using Tomcat, Struts, and Eclipse to code my application.  I found
myself spend too much time reboot tomcat because either to changes the
applicationResources.properties file or some action classes.  Is there a
better way for me to do this without reboot tomcat?

Thanks


--
To unsubscribe, e-mail:

For additional commands, e-mail:




RE: Debug Struts in Tomcat

2002-07-16 Thread Jason Zhou

The classes are reloaded automatically right now. For property file, you can to do an 
explicit reload for now.

Best Regards,

J. Jason Zhou
Business Intelligence Platform Division (BIP), R & D, 
SAS Institute, 100 SAS Campus Dr.
Cary, North Carolina 27513-8617
Voice: 919-531-0568(O)
Email: [EMAIL PROTECTED]

-Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 16, 2002 12:27 PM
To: 'Struts Users Mailing List'
Subject: RE: Debug Struts in Tomcat

In tomcat-users.xml add a manager role:

  
  
  
  


Then, from your browser:
http://yourip:8080/manager/reload?path=/struts-example

Jacob Hookom
CS Student
University of Wisconsin, Eau Claire
===
http://www.swanked.net
you're not hip enough yet

-Original Message-
From: Hoang, Hai [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 16, 2002 11:24 AM
To: 'struts-user'
Subject: Debug Struts in Tomcat

I am using Tomcat, Struts, and Eclipse to code my application.  I found
myself spend too much time reboot tomcat because either to changes the
applicationResources.properties file or some action classes.  Is there a
better way for me to do this without reboot tomcat?

Thanks


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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


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

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




RE: Debug Struts in Tomcat

2002-07-16 Thread Jacob Hookom

In tomcat-users.xml add a manager role:

  
  
  
  


Then, from your browser:
http://yourip:8080/manager/reload?path=/struts-example

Jacob Hookom
CS Student
University of Wisconsin, Eau Claire
===
http://www.swanked.net
you're not hip enough yet

-Original Message-
From: Hoang, Hai [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 16, 2002 11:24 AM
To: 'struts-user'
Subject: Debug Struts in Tomcat

I am using Tomcat, Struts, and Eclipse to code my application.  I found
myself spend too much time reboot tomcat because either to changes the
applicationResources.properties file or some action classes.  Is there a
better way for me to do this without reboot tomcat?

Thanks


--
To unsubscribe, e-mail:

For additional commands, e-mail:


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.375 / Virus Database: 210 - Release Date: 7/10/2002
 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: debug

2002-06-22 Thread Galbreath, Mark

Will david Mitchell, "Debugging Java" (Osborne, 2000).  ISBN: 0-07-212562-4.

Read it; Learn it; Live it.

Mark

-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 10:17 PM
To: Struts Users Mailing List
Subject: debug


Would anybody share with me how you debug the program?  I am using simply
emacs.  Is the getServlet.log() my only choice if I just want to do
something equivalent to System.out.print()?

Thanks!

Billy Ng

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: debug

2002-06-22 Thread Billy Ng

Never mind.  I find it in the catalina.out

Thanks!

Billy Ng

- Original Message -
From: "Billy Ng" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 10:08 PM
Subject: Re: debug


> How come I do not see the System.out result print to the xterm?  How do
you
> do it?
>
> Billy Ng
>
> - Original Message -
> From: "Andrew Hill" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, June 21, 2002 9:57 PM
> Subject: RE: debug
>
>
> > Hehe, Im still just using System.out and watching the Tomcat window!
> >
> > -Original Message-
> > From: Billy Ng [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, June 22, 2002 10:17
> > To: Struts Users Mailing List
> > Subject: debug
> >
> >
> > Would anybody share with me how you debug the program?  I am using
simply
> > emacs.  Is the getServlet.log() my only choice if I just want to do
> > something equivalent to System.out.print()?
> >
> > Thanks!
> >
> > Billy Ng
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

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




Re: debug

2002-06-21 Thread slickdev

damn... FAST eyes!

- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 11:57 PM
Subject: RE: debug


> Hehe, Im still just using System.out and watching the Tomcat window!
>
> -Original Message-
> From: Billy Ng [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 22, 2002 10:17
> To: Struts Users Mailing List
> Subject: debug
>
>
> Would anybody share with me how you debug the program?  I am using simply
> emacs.  Is the getServlet.log() my only choice if I just want to do
> something equivalent to System.out.print()?
>
> Thanks!
>
> Billy Ng
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




Re: debug

2002-06-21 Thread Billy Ng

How come I do not see the System.out result print to the xterm?  How do you
do it?

Billy Ng

- Original Message -
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 9:57 PM
Subject: RE: debug


> Hehe, Im still just using System.out and watching the Tomcat window!
>
> -Original Message-
> From: Billy Ng [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 22, 2002 10:17
> To: Struts Users Mailing List
> Subject: debug
>
>
> Would anybody share with me how you debug the program?  I am using simply
> emacs.  Is the getServlet.log() my only choice if I just want to do
> something equivalent to System.out.print()?
>
> Thanks!
>
> Billy Ng
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

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




RE: debug

2002-06-21 Thread Andrew Hill

Hehe, Im still just using System.out and watching the Tomcat window!

-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 10:17
To: Struts Users Mailing List
Subject: debug


Would anybody share with me how you debug the program?  I am using simply
emacs.  Is the getServlet.log() my only choice if I just want to do
something equivalent to System.out.print()?

Thanks!

Billy Ng


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Debug Level

2002-04-30 Thread Kevin . Bedell




I've not seen anything specific on this. Not sure if any guidelines have
been adopted, though it would be a good idea.

I've adopted:

 0 - errors only
 1 - basic debugging.
 2 - verbose debugging

The primary issue I have with these is that since they are defined in the
web.xml in the Action servlet definition, changing them requires a system
restart. This is fine if you're not running a production system.

While it may be possible ot override this programmatically, it would be
nice to be able to turn logging on and off just by editing a properties (or
other) file somewhere in the file system.


Anyone know of published guidleines for the debug levels?





"Amir Nashat" <[EMAIL PROTECTED]> on 04/29/2002 09:52:02 PM

Please respond to "Struts Users Mailing List"
  <[EMAIL PROTECTED]>

To:   <[EMAIL PROTECTED]>
cc:(bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  Debug Level


Does anyone know the different levels of granularity for debugging in
struts? I know the default value for the ActionServlet is 0 and I was
wondering what the other values there are and what they represent. Thanks.

amir




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







---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: debug level

2001-03-02 Thread Matthias Bauer

Yes this was it. I managed to turn if off in my tomcat server.xml by setting
verbosityLevel="WARNING" for JASPER_LOG.

Thanks for your help,
   --- Matthias



Maya Muchnik wrote:
> 
> I think I have found the answer for the 1st part of debug messages. They are
> coming from jasper compiler.
> 
> Maya Muchnik wrote:
> 
> > The 2nd part (classpath) is coming from Tomcat (or other server) startup
> > script.
> >
> > > Hi there,
> > >
> > > how can I prevent the struts action servlet from logging so much
> > > information.
> > >
> > > Here is my problem: I have generated a struts application and now I am
> > > about to
> > > deploy it. During development it was pretty convenient to have so many
> > > debug
> > > messages. But now, even after setting the debug level to 0, the
> > > ActionServlet
> > > still prints out too much debug information:
> > >
> > > > ...
> > > > 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> > > > 2001-03-01 05:10:14 -ServletPath: /logon.jsp
> > > > 2001-03-01 05:10:14 -   PathInfo: null
> > > > 2001-03-01 05:10:14 -   RealPath:
> > > /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> > > > 2001-03-01 05:10:14 - RequestURI: /nmi-registration/logon.jsp
> > > > 2001-03-01 05:10:14 -QueryString: null
> > > > 2001-03-01 05:10:14 - Request Params:
> > > > 2001-03-01 05:10:14 -nickname = asfsafasfsa
> > > > 2001-03-01 05:10:14 -password = asfsafa
> > > > 2001-03-01 05:10:14 -submit = Anmelden
> >
> > ---
> >
> > >
> > > > 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is:
> > > /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/to
> > > mcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hi
> > > as/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias
> > > /tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> > > > ...
> > >
> > > Can somebody help me to suppress that many debug info?
> > >
> > > Any help is very much appreciated.
> > >
> > > Thanks,
> > > --- Matthias



Re: debug level

2001-03-01 Thread Maya Muchnik

I think I have found the answer for the 1st part of debug messages. They are
coming from jasper compiler.

Maya Muchnik wrote:

> The 2nd part (classpath) is coming from Tomcat (or other server) startup
> script.
>
> > Hi there,
> >
> > how can I prevent the struts action servlet from logging so much
> > information.
> >
> > Here is my problem: I have generated a struts application and now I am
> > about to
> > deploy it. During development it was pretty convenient to have so many
> > debug
> > messages. But now, even after setting the debug level to 0, the
> > ActionServlet
> > still prints out too much debug information:
> >
> > > ...
> > > 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> > > 2001-03-01 05:10:14 -ServletPath: /logon.jsp
> > > 2001-03-01 05:10:14 -   PathInfo: null
> > > 2001-03-01 05:10:14 -   RealPath:
> > /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> > > 2001-03-01 05:10:14 - RequestURI: /nmi-registration/logon.jsp
> > > 2001-03-01 05:10:14 -QueryString: null
> > > 2001-03-01 05:10:14 - Request Params:
> > > 2001-03-01 05:10:14 -nickname = asfsafasfsa
> > > 2001-03-01 05:10:14 -password = asfsafa
> > > 2001-03-01 05:10:14 -submit = Anmelden
>
> ---
>
> >
> > > 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is:
> > /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/to
> > mcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hi
> > as/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias
> > /tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> > > ...
> >
> > Can somebody help me to suppress that many debug info?
> >
> > Any help is very much appreciated.
> >
> > Thanks,
> > --- Matthias




Re: debug level

2001-03-01 Thread Maya Muchnik

The 2nd part (classpath) is coming from Tomcat (or other server) startup
script.

> Hi there,
>
> how can I prevent the struts action servlet from logging so much
> information.
>
> Here is my problem: I have generated a struts application and now I am
> about to
> deploy it. During development it was pretty convenient to have so many
> debug
> messages. But now, even after setting the debug level to 0, the
> ActionServlet
> still prints out too much debug information:
>
> > ...
> > 2001-03-01 05:10:14 - JspEngine --> /logon.jsp
> > 2001-03-01 05:10:14 -ServletPath: /logon.jsp
> > 2001-03-01 05:10:14 -   PathInfo: null
> > 2001-03-01 05:10:14 -   RealPath:
> /home/hias/tomcat/webapps/nmi-registration/logon.jsp
> > 2001-03-01 05:10:14 - RequestURI: /nmi-registration/logon.jsp
> > 2001-03-01 05:10:14 -QueryString: null
> > 2001-03-01 05:10:14 - Request Params:
> > 2001-03-01 05:10:14 -nickname = asfsafasfsa
> > 2001-03-01 05:10:14 -password = asfsafa
> > 2001-03-01 05:10:14 -submit = Anmelden

---

>
> > 2001-03-01 05:10:14 - Classpath according to the Servlet Engine is:
> /home/hias/tomcat/webapps/nmi-registration/WEB-INF/classes:/home/hias/to
> mcat/webapps/nmi-registration/WEB-INF/lib/java-db-framework.jar:/home/hi
> as/tomcat/webapps/nmi-registration/WEB-INF/lib/components.jar:/home/hias
> /tomcat/webapps/nmi-registration/WEB-INF/lib/struts.jar
> > ...
>
> Can somebody help me to suppress that many debug info?
>
> Any help is very much appreciated.
>
> Thanks,
> --- Matthias