RE: Logging with Struts and Tomcat

2003-07-01 Thread Wendy Smoak
I use Struts 1.1 and Tomcat 4.1.24 and i cannot use correctly the logging functionnality of Struts. More exactly i don't know which settings i must set and in which file. What underlying logging implementation do you want to use? If you do nothing, you get Commons logging. Look at the

Re: Logging in struts.

2003-06-18 Thread Gemes Tibor
Simon Kelly rta: Hi all, I didn't really want to post such a basic question, but I have tried a couple of possible solutions and have had zero luck. So, How do you log messages using the Struts logger, so that they will print to screen? I.E the window that tomcat is running in, in my case.

RE: Logging in struts.

2003-06-18 Thread Filip Polsakiewicz
Hi Simon, there is a lot of info on that question in O'Reilly Programming Jakarta Struts. The tell you how to use Commons Logging or Log4J within your struts apps. And: whatever you print to stdout or stderr appears in your tomcat window anyway (at least it should) Greetz from Karlsruhe too,

Re: Logging in struts.

2003-06-18 Thread Simon Kelly
- From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:50 AM Subject: RE: Logging in struts. Hi Simon, there is a lot of info on that question in O'Reilly Programming Jakarta Struts. The tell you how to use Commons

RE: Logging in struts.

2003-06-18 Thread Filip Polsakiewicz
-Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:02 AM To: Struts Users Mailing List Subject: Re: Logging in struts. Hi Gemes and Filip, Thanks for the answers. I'm using commons logging (and I'm just checkin my copy of Prog

Re: Logging in struts.

2003-06-18 Thread Kwok Peng Tuck
If you can't see your standard output try looking in the $CATALINA_HOME/logs directory and look for a file called catalina.out. I used a linux rpm installation of tomcat and all stdout goes there when tomcat is started up. Filip Polsakiewicz wrote: Hi Simon, there is a lot of info on that

Re: Logging in struts.

2003-06-18 Thread Simon Kelly
: Logging in struts. -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:02 AM To: Struts Users Mailing List Subject: Re: Logging in struts. Hi Gemes and Filip, Thanks for the answers. I'm using commons logging (and I'm just

RE: Logging in struts.

2003-06-18 Thread Filip Polsakiewicz
-Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:36 AM To: Struts Users Mailing List Subject: Re: Logging in struts. Thanks Filip (and hi Kwok, yep found the file. See below) I tested the servlet context logging, and found

Re: Logging in struts.

2003-06-18 Thread Kwok Peng Tuck
Hmm very strange since it doesn't log properly. Looks a bit different then how it's done in the struts examples. I see that they do this, import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; ... .. .. public final class EditSubscriptionAction extends Action {

Re: Logging in struts.

2003-06-18 Thread Simon Kelly
Done that. It's my usual option for loggin in struts. But even that seems to have failed me :-( - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 12:24 PM Subject: Re: Logging in struts. Hmm very

Re: Logging in struts.

2003-06-18 Thread Adam Hardy
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 12:24 PM Subject: Re: Logging in struts. Hmm very strange since it doesn't log properly. Looks a bit different then how it's done in the struts examples. I see that they do this, import

Re: Logging in struts.

2003-06-18 Thread Simon Kelly
! Please excuse the noise. SimBANG - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:09 PM Subject: Re: Logging in struts. sounds like your logging configuration file doesn't contain what you

Re: Logging in struts.

2003-06-18 Thread Kwok Peng Tuck
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:09 PM Subject: Re: Logging in struts. sounds like your logging configuration file doesn't contain what you think it does or is not being found at start-up. Simon Kelly wrote: Done that. It's my

RE: logging within struts.

2003-01-29 Thread Arnaud HERITIER
Struts 1.1 uses Commons-logging as logs wrapper. You can use the logging library you want (log4J, JDK 1.4, ...). See the documentation of commons-logging for more explanations. http://jakarta.apache.org/commons/logging.html and

Re: logging within struts.

2003-01-29 Thread Simon Kelly
Thanks. I'll give it a go. Simon - Original Message - From: Arnaud HERITIER [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 1:59 PM Subject: RE: logging within struts. Struts 1.1 uses Commons-logging as logs wrapper. You can use

Re: Logging with Struts on RI: was Redirected to index.jsp unexpectedly

2002-09-25 Thread Tal Rotbart
Standard output should be in stdout.log, in $CATALINA_HOME/logs... The logs with the dates are when the commons logging interface is used, methinks. Tal - Original Message - From: Geoff Seel [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 25,

Re: Logging with Struts on RI: was Redirected to index.jsp unexpectedly

2002-09-25 Thread Eddie Bush
Assuming it follows what Tomcat lays out, you could find them in $TOMCAT_HOME/log -- er ... whatever your top-level directory is :-) Sorry, I use Tomcat. I can't speak to the Sun RI ... sure thought Tomcat was the RI. Geoff Seel wrote: Folks Know I can't expect people on mailing lists to

Re: Logging with Struts on RI: was Redirected to index.jsp unexpectedly

2002-09-25 Thread Steve Gass
On Wednesday 25 September 2002 04:19 am, Geoff Seel wrote: Folks Know I can't expect people on mailing lists to solve all my problems but I was surprised that nobody could help with logging issue below. Has anyone used Struts successfully with the Sun J2EE Reference Implementation (1.3.1)?

Re: Logging with Struts on RI: was Redirected to index.jsp unexpectedly

2002-09-25 Thread Geoff Seel
Thanks Eddie and other guys. Set up a stand-alone Tomcat and everything works, not only logging but the Struts app itself (till it tries to access an EJB!). Exactly the same war file fails in RI, Maybe it's because I was trying to deploy via the deploytool, tomorrow I'll see if I can deploy

Re: logging in struts

2002-09-23 Thread Eddie Bush
The commons-logging package is an ultra-lightweight interface to ... whichever logging package is available: - jdk1.4? use that unless otherwise stated - log4j? use that unless otherwise stated - something else? use that unless otherwise stated (see site for the ones it will look

RE: logging in struts

2002-09-23 Thread Galbreath, Mark
We wrote our own BS (before struts) custom logger. I'll send you a copy of the .java file, if you are interested. Mark -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:08 PM To: Struts Users Mailing List Subject: logging in struts hey

Re: logging in struts

2002-09-23 Thread Zahid Rahman
Here is a suggestion! Download chapter 21 of JSP PRO second edition from www.wrox.com It shows a complete struts application for a Shopping cart. It has login form, logout form etc. - Original Message - From: Mark Silva [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: logging in struts

2002-09-23 Thread Eddie Bush
Disregard this garbage. I don't know who this guy is or what in the world he thinks he's doing, but many here have filtered him out. Don't be led astray by his unintelligible jibberish. Zahid Rahman wrote: Here is a suggestion! Download chapter 21 of JSP PRO second edition from

Re: logging in struts

2002-09-23 Thread Zahid Rahman
What is garbage about what I wrote ? A complete struts application can be found in chapter 21 of jsp pro second edition. - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 7:40 PM Subject: Re: logging

RE: logging in struts

2002-09-23 Thread Hajratwala, Nayan (N.)
://www.chikli.com -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:41 PM To: Struts Users Mailing List Subject: Re: logging in struts Disregard this garbage. I don't know who this guy is or what in the world he thinks he's doing, but many

RE: logging in struts

2002-09-23 Thread Chappell, Simon P
www.landsend.com Lands' End, Inc. (608) 935-4526 -Original Message- From: Zahid Rahman [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:44 PM To: Struts Users Mailing List Subject: Re: logging in struts What is garbage

Re: logging in struts

2002-09-23 Thread Zahid Rahman
, they don't seem to like buying books. Zahid - Original Message - From: Chappell, Simon P [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 7:48 PM Subject: RE: logging in struts I checked and there is an example app in the 21st chapter

Re: logging in struts

2002-09-23 Thread Eddie Bush
I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match that came close to approximating the topic of interest. That's what I discount it to - nothing more. If I'm incorrect, I apologize in advance. It will take some serious convincing to make me believe he

RE: logging in struts

2002-09-23 Thread Chappell, Simon P
And it's not even Friday yet! -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:10 PM To: Struts Users Mailing List Subject: Re: logging in struts I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match

Re: logging in struts

2002-09-23 Thread Tiago Nodari
He got kicked off the JSP-Interest list yesterday or today At 02:10 PM 9/23/2002 -0500, you wrote: I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match that came close to approximating the topic of interest. That's what I discount it to - nothing

RE: logging in struts

2002-09-23 Thread Tero P Paananen
I highly suspicion this character is, in fact, a bot. ...and it is eternal Friday on the Struts User list. Kick the bot off the list. -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: logging in struts

2002-09-23 Thread Zahid Rahman
to write your own. - - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 8:10 PM Subject: Re: logging in struts I highly suspicion this character is, in fact, a bot. He got lucky on a soundex match

RE: logging in struts

2002-09-23 Thread Galbreath, Mark
+1 -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:41 PM To: Struts Users Mailing List Subject: Re: logging in struts Disregard this garbage. I don't know who this guy is or what in the world he thinks he's doing, but many here have

RE: logging in struts

2002-09-23 Thread Galbreath, Mark
When you are dealing with this lunatic, everyday is Friday. :-( -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 3:13 PM To: Struts Users Mailing List Subject: RE: logging in struts And it's not even Friday yet! -Original

RE: logging in struts

2002-09-23 Thread Martin Cooper
-Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 10:08 AM To: Struts Users Mailing List Subject: logging in struts hey there, i was wondering what people ar eusing for logging in struts. it seems that with jdk1.4, and the

RE: logging in struts

2002-09-23 Thread Mark Silva
PROTECTED]] Sent: Monday, September 23, 2002 1:05 PM To: 'Struts Users Mailing List' Subject: RE: logging in struts -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 10:08 AM To: Struts Users Mailing List Subject: logging in struts hey

RE: logging in struts

2002-09-23 Thread Martin Cooper
-Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:09 PM To: Struts Users Mailing List Subject: RE: logging in struts martin, where do you place the configuration property file for jdk 1.4? the defaulkt is in a directory

Re: Logging in struts-example

2002-08-29 Thread Craig R. McClanahan
You can configure the logging detail level for each named package separately -- the example webapp's components would all be covered by the pattern org.apache.struts.webapp.example. Check your Log4J configuration to see what debug level would be assgned to package. Craig On Thu, 29 Aug 2002,

RE: Logging in struts-example

2002-08-29 Thread NP-KARRYS MIKE
Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 12:59 PM To: Struts Users Mailing List Subject: Re: Logging in struts-example You can configure the logging detail level for each named package separately -- the example webapp's components would all

RE: Logging in struts-example

2002-08-29 Thread Craig R. McClanahan
On Thu, 29 Aug 2002, NP-KARRYS MIKE wrote: Date: Thu, 29 Aug 2002 15:42:25 -0400 From: NP-KARRYS MIKE [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Logging in struts-example Craig Thanks for the reply: I have figured out

RE: Logging in struts-example

2002-08-29 Thread NP-KARRYS MIKE
this is happening. Thanks for the help. Mike Karrys PRC Public Sector Inc. -Original Message- From: NP-KARRYS MIKE Sent: Thursday, August 29, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: RE: Logging in struts-example Craig Thanks for the reply: I have figured out that I can see