Commons Logging will initialize Log4j automatically if it's present, so
you don't need to do that. You do need log4j.jar in your lib directory,
though, if you want to use it. You can then write your logging using
either the Log4j API directly or using the Commons Logging API,
whi
some plugin class to initialize log4j separately
for my struts application..
Please let me know Instead of configuring log4j for my java files ..is it
not possible to use commons logging?
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 10:39
On Jan 10, 2008 1:25 AM, Raghuveer <[EMAIL PROTECTED]> wrote:
> Could any one provide information of using commons logging for logging my
> application related logs in my JSP-STRUTS application
>
>
Commons logging is just a logging facade, it is not a logging system
itse
Could any one provide information of using commons logging for logging my
application related logs in my JSP-STRUTS application
> I have a struts 1.2.4 application, and i have log4j.jar and
> commons-logging.jar in classpath In my application i use log4j for logging,
> i wanted to know what would be effect of removing commons-logging.jarfile
> from classpath
Commons Logging isn't really a logger itself.
ts logging
>
> Ashish
>
> On 8/24/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> >
> > Impossible. Struts is built with Commons Logging.
> >
> > On 8/24/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi
> > > I
Hi
How do i configure sturts logging then, i have a log4j.properties file where
i set my application logging, can i use the same for struts logging
Ashish
On 8/24/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
>
> Impossible. Struts is built with Commons Logging.
>
> On 8/24/0
Impossible. Struts is built with Commons Logging.
On 8/24/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> Hi
> I have a struts 1.2.4 application, and i have log4j.jar and
> commons-logging.jar in classpath
> In my application i use log4j for logging,
> i wanted to know
Hi
I have a struts 1.2.4 application, and i have log4j.jar and
commons-logging.jar in classpath
In my application i use log4j for logging,
i wanted to know what would be effect of removing commons-logging.jar file
from classpath
it contains all kinds of helpful information.
-adam
Raghuveer wrote:
We use struts applications and loggging by log 4j.
We are configuring loggers like normal MVS application.
But,
What is that i need to do if i want my struts application to use
commons-logging for logging
We use struts applications and loggging by log 4j.
We are configuring loggers like normal MVS application.
But,
What is that i need to do if i want my struts application to use
commons-logging for logging.
-
To unsubscribe
Jakarta Commons Logging 1.1 release candidate 6 is now available for testing
(please note this is not yet an official Apache release) from:
http://people.apache.org/~rdonkin/commons-logging/
Details of announcements here:
http://www.mail-archive.com/commons-dev%40jakarta.apache.org/msg76921
Has anybody experienced the problem described below ?
Thanks for help!
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, January 20, 2005 11:27 PM
Subject: Struts commons logging and debugging
Hi,
I am using struts 1.1 with W
There are a couple of fine spots to look for information on this:
- Javadocs for commons-logging (jakarta.apache.org/commons/logging)
Look at the javadoc for the top-level package
- Tiles' documentation talks about it.
http://struts.apache.org/userGuide/dev_tiles.html#setup
(s
But how do I configure these, I've googled for it, but can't find any
specific details.
Will Stranathan wrote:
You have to configure the underlying logging package - such as Log4j
if you're using that or Java 1.4 logging if you're using that.
w
On Fri, 21 Jan 2005 16:02:39 -0500
Alex Kravets <
You have to configure the underlying logging package - such as Log4j
if you're using that or Java 1.4 logging if you're using that.
w
On Fri, 21 Jan 2005 16:02:39 -0500
Alex Kravets <[EMAIL PROTECTED]> wrote:
Couple of question about logging in Struts.
I included commons-logging.jar in my classp
Couple of question about logging in Struts.
I included commons-logging.jar in my classpath, imported Log and
LogFactory in my class and have the following:
public final class ExecuteQueryForm extends ActionForm {
private static Log log = LogFactory.getLog(ExecuteQueryForm.class);
public voi
Hi,
I am using struts 1.1 with Weblogic 7. I am having little difficulty
debugging when I mess up things like :
In JSP use a Form Bean property which I missed to define in the
FormBean.
or
Type the wrong class name of the Form Bean in struts-config.xml
The application just show the common error
Thanks Jim. I'll take a look.
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 5:33 PM
To: Struts Users Mailing List
Subject: RE: form validation (How to setup commons-logging to debug)
> -Original Message-
>
> -Original Message-
> From: Leung, Albert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 2:31 PM
> To: Struts Users Mailing List
> Subject: RE: form validation (How to setup commons-logging to debug)
>
>
> Anywhere for now is fine with me.
The
Anywhere for now is fine with me.
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 5:26 PM
To: Struts Users Mailing List
Subject: RE: form validation (How to setup commons-logging to debug)
> -Original Message-
> From:
> -Original Message-
> From: Leung, Albert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 2:27 PM
> To: Struts Users Mailing List
> Subject: RE: form validation (How to setup commons-logging to debug)
>
>
> Thanks. You wouldn't mind tell
Thanks. You wouldn't mind telling where the output goes? Is it going to
STDOUT?
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 5:12 PM
To: Struts Users Mailing List
Subject: RE: form validation (How to setup commons-logging to
s
you aren't interested in seeing display logging information.
Regards,
David
P.S. I guess it's now "Hey Jim, [STRUTS] Tag, you're it!"
-Original Message-
From: Leung, Albert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 5:03 PM
To: Struts Users Mailing
I'm going to give that a try. Thanks.
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 5:07 PM
To: Struts Users Mailing List
Subject: RE: form validation (How to setup commons-logging to debug)
> -Original Message
> -Original Message-
> From: Leung, Albert [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 2:03 PM
> To: Struts Users Mailing List
> Subject: RE: form validation (How to setup commons-logging to debug)
>
>
> I'm sorry. I've check the
r 01, 2004 4:23 PM
To: Struts Users Mailing List
Subject: RE: form validation (How to setup commons-logging to debug)
I haven't done this (manually - I've been copying my blank setup) in a
while, but the basic steps are:
a) Make sure you have a commons-logging jar in WEB-INF/lib
I use
I haven't done this (manually - I've been copying my blank setup) in a
while, but the basic steps are:
a) Make sure you have a commons-logging jar in WEB-INF/lib
I use commons-logging-1.0.3.jar (Struts v1.1) [Note: there is now a 1.0.4
version at http://jakarta.apache.org/commons
b)
28 matches
Mail list logo