śr., 14 maj 2025 o 23:52 Deborah White
napisał(a):
> Hello, since updating to Struts 7, I am receiving these errors and have not
> had a log4j.properties file for years.
> 14:46:37,983 ERROR [stderr] (default task-1) log4j:WARN No appenders could be
> found for logger (freemarker.cache).
>
> 14:
Hello, since updating to Struts 7, I am receiving these errors and have not had
a log4j.properties file for years.
14:46:37,983 ERROR [stderr] (default task-1) log4j:WARN No appenders could be
found for logger (freemarker.cache).
14:46:37,984 ERROR [stderr] (default task-1) log4j:WARN Please ini
śr., 10 kwi 2019 o 11:20 Tamás Barta napisał(a):
>
> Hi,
>
> We use JBoss as AS where logging is based on Log4J version 1. I see that
> Struts 2 uses Log4J version 2 and my problem is that how can I route Struts
> logging messages to the Log4J inside JBoss. I guess I need a br
Hi,
We use JBoss as AS where logging is based on Log4J version 1. I see that
Struts 2 uses Log4J version 2 and my problem is that how can I route Struts
logging messages to the Log4J inside JBoss. I guess I need a bridge-like
Log4J2 appender which logs into a Log4J Logger, but I couldn't fin
>
> Websphere is notorious for its poor logging support. I used Websphere
for
> about 5 years. The server exposes Commons Logging in the parent class
> loader so it's already configured -- and not configurable by you. That
was
> my experience, at least. I think you shou
Alright..
Thanks a lot for your help .
Regards
Usha
On Fri, May 30, 2014 at 7:09 PM, Paul Benedict wrote:
> Websphere is notorious for its poor logging support. I used Websphere for
> about 5 years. The server exposes Commons Logging in the parent class
> loader so it's alre
Websphere is notorious for its poor logging support. I used Websphere for
about 5 years. The server exposes Commons Logging in the parent class
loader so it's already configured -- and not configurable by you. That was
my experience, at least. I think you should google "Websphere Stru
yes.. below is how property file looks like.
log4j.rootLogger=DEBUG, R
log4j.logger.org.apache.struts=DEBUG
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=../updivalidation/UPDISetup.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10
log4j.appende
Did you add the line for Struts debugging?
Dave
I have the log file created which I have defined in log4j.properties.
But I dont see any trace for struts in that File. I only below entries in
the log file.-
05/30/14 12:40:20] source=com.ibm.bcg.consoleUI.
action.partners.PartnerCreateAction thread=[WebContainer : 0] Logging
initialized.
[05
Usha, I don't understand your response. So you have a log file and it's
logging?
Cheers,
Paul
On Fri, May 30, 2014 at 7:58 AM, Usha Ladkani wrote:
> property file is in classpath , As the log file is being created with
> trace.
>
> We are not using tomcat. we are u
de you have to compile to make a "tomcat-juli.jar"
> that will understand log4j.
>
> 2.
>>
>> Download or build |tomcat-juli.jar| and |tomcat-juli-adapters.jar|
>> that are available as an "extras" component for Tomcat. See Additional
>>
li-adapters.jar| that are available as an
"extras" component for Tomcat. See Additional Components documentation
<http://tomcat.apache.org/tomcat-7.0-doc/extras.html> for details.
This |tomcat-juli.jar| differs from the default one. It contains the full
Apache Commons Logging
now the file is created , but has no trace of struts.
below is logged.
05/30/14 12:40:20]
source=com.ibm.bcg.consoleUI.action.partners.PartnerCreateAction
thread=[WebContainer : 0] Logging initialized.
[05/30/14 12:40:20]
source=com.ibm.bcg.consoleUI.action.partners.PartnerCreateAction
thread
> Now empty log file is being created.
>
> I see this error in systemout which i printed too
>
> [30/5/14 12:23:48:824 UTC] 0086 R UOW= source=SystemErr org=IBM
> prod=WebSphere component=Application Server thread=[WebContainer : 0]
> log4j:WARN No appenders could be found for logg
gt; log4j.appender.R.layout.ConversionPattern=[%d{MM/dd/yy HH:mm:ss}]
> source=%c
> > thread=[%t] %m%n
> >
> > I get log file names usha.log created m But it doesnt has any struts
> > related logging after I perform the action. Just the below content is
> > logged.
> >
&
j.appender.R.MaxBackupIndex=10
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> log4j.appender.R.layout.ConversionPattern=[%d{MM/dd/yy HH:mm:ss}]
source=%c
> thread=[%t] %m%n
>
> I get log file names usha.log created m But it doesnt has any struts
> related logging after
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%d{MM/dd/yy HH:mm:ss}] source=%c
thread=[%t] %m%n
I get log file names usha.log created m But it doesnt has any struts
related logging after I perform the action. Just the below content is
logged.
[05/30/14 09:14:21
Okay, but Struts 1 uses Apache Commons Logging. That means you'll need to
configure that or use Apache Log4j 1.x configuration which is also
supported.
Cheers,
Paul
On Thu, May 29, 2014 at 10:38 PM, Usha Ladkani
wrote:
> Hello Paul.
>
> We are using java.util.logging
Hello Paul.
We are using java.util.logging.Logger in our application.
Regards
Usha
On Fri, May 30, 2014 at 9:02 AM, Paul Benedict wrote:
> Usha, what logging framework are you using?
>
>
> Cheers,
> Paul
>
>
> On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani
> wrot
Usha, what logging framework are you using?
Cheers,
Paul
On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani
wrote:
> Hello ,
>
> We are using Struts 1 , Can someone tell me how can I enable Struts logs in
> debug mode, Basically I am looking for statements as below -
>
&g
Hello ,
We are using Struts 1 , Can someone tell me how can I enable Struts logs in
debug mode, Basically I am looking for statements as below -
BeanUtils 1 org.apache.commons.beanutils.BeanUtils populate
BeanUtils.populate(
Thanks and regards
That works. Thank you very much.
El Jueves, 1 de agosto de 2013 07:43:26 Lukasz Lenart escribió:
> 2013/7/31 Antonio Sánchez :
> > At logging out, session is invalidated and redirected page is displayed in
> > default language.
> >
> > Say: default language: Spanish
2013/7/31 Antonio Sánchez :
> At logging out, session is invalidated and redirected page is displayed in
> default language.
>
> Say: default language: Spanish; current language: English; logging out and
> resulted page is in Spanish, but should be English. .
>
> This is
The closeSession redirects to a new page? In that case the setLocale is
lost (it only lives during the request) and the new local is picked up from
the browser language, or from the default language you have setup.
2013/7/31 Antonio Sánchez
> At logging out, session is invalidated
At logging out, session is invalidated and redirected page is displayed in
default language.
Say: default language: Spanish; current language: English; logging out and
resulted page is in Spanish, but should be English. .
This is not working (code in action class):
public String
Hi,
I'm having trouble getting exception logging written to files in Struts
2.2.1. I have enabled the Exception interceptor to log exceptions by adding
the following to the interceptor stack:
true
ERROR
And have a log4j.properties
If you want to record the ServerError, like ServletException, you can config
the Tomcat Server logging, ref the document from Apache.org
Regards,
Mead
On Wed, Oct 6, 2010 at 10:44 PM, Dave Newton wrote:
> What do you have your log levels configured as? For struts, xwork, and
> OGNL?
&g
; >> I can't seem to get any errors to appear when struts goes wrong
> >> (action trying to set/get an attribute that doesn't exist etc). I have
> >> the commons-logging-1.1.jar file in my /WEB-INF/lib
> >> folder and have the
> >> line in my stru
ren Karstens
> wrote:
>
>> Hi,
>> I can't seem to get any errors to appear when struts goes wrong
>> (action trying to set/get an attribute that doesn't exist etc). I have
>> the commons-logging-1.1.jar file in my /WEB-INF/lib
>> folder and have th
try the tag
on the page
Regards,
Mead
On Wed, Oct 6, 2010 at 9:37 PM, Darren Karstens wrote:
> Hi,
> I can't seem to get any errors to appear when struts goes wrong
> (action trying to set/get an attribute that doesn't exist etc). I have
> the commons-logging-1.1.jar f
Hi,
I can't seem to get any errors to appear when struts goes wrong
(action trying to set/get an attribute that doesn't exist etc). I have
the commons-logging-1.1.jar file in my /WEB-INF/lib
folder and have the
line in my struts.xml file. Despite this I have never seen an error in
my
:
log4j.logger.freemarker.cache=INFO, CA
log4j.logger.com.foo.bar=ERROR, CA
You do not need to change any java code.
Hope this helps.
--
View this message in context:
http://old.nabble.com/Turning-freemarker-logging-off-tp21287074p29472948.html
Sent from the Struts - User mailing list archive at
nodje wrote:
>
> Hi,
>
> I'm using Struts 2.1.2. I've configured log4j logging with the following
> line
> log4j.logger.com.opensymphony.xwork2.ognl=ERROR
>
> in order to turn off what seemed to be xwork logging.
>
> However, I'm still getting
Musachy Barroso wrote:
yeah I was thinking about that when I was writing that email, you out
there Matt? :)
I tweeted him and he said he might have to write a followup now ;)
Dave
-
To unsubscribe, e-mail: user-unsubscr...@s
" Pink Floyd
>
> -----
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.n
yeah I was thinking about that when I was writing that email, you out
there Matt? :)
musachy
On Fri, Mar 20, 2009 at 10:23 AM, Dave Newton wrote:
> Musachy Barroso wrote:
>>
>> I didnt explain what the fix does, there is a new setting
>> "struts.el.throwExceptionOnFailure" which when set to tru
Musachy Barroso wrote:
I didnt explain what the fix does, there is a new setting
"struts.el.throwExceptionOnFailure" which when set to true, will
cause missing properties, or exceptions thrown from OGNL expression
evaluations, to throw an exception and "break" the page. This will
only happen in
. I
>> think we should take that route and only show errors when they happen
>> in tags and not the stack in general (which produces all this noise)
>>
>> musachy
>>
>> On Wed, Mar 18, 2009 at 3:01 PM, hernan gonzalez wrote:
>>> "Struts 2.1 intr
sachy
>
> On Wed, Mar 18, 2009 at 3:01 PM, hernan gonzalez wrote:
>> "Struts 2.1 introduces more verbose logging than Struts 2.0. While
>> extremely valuable, some users may find these annoying."
>> http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-st
route and only show errors when they happen
in tags and not the stack in general (which produces all this noise)
musachy
On Wed, Mar 18, 2009 at 3:01 PM, hernan gonzalez wrote:
> "Struts 2.1 introduces more verbose logging than Struts 2.0. While
> extremely valuable, some users may
"Struts 2.1 introduces more verbose logging than Struts 2.0. While
extremely valuable, some users may find these annoying."
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html
The extremely annoying thing is that struts 2.1 emits those warnings
(
Turning off package freemarker or freemarker.cache would do the needful I
guess.
nodje wrote:
>
> Hi,
>
> I'm using Struts 2.1.2. I've configured log4j logging with the following
> line
> log4j.logger.com.opensymphony.xwork2.ognl=ERROR
>
> in order to turn o
Hi,
I'm using Struts 2.1.2. I've configured log4j logging with the following
line
log4j.logger.com.opensymphony.xwork2.ognl=ERROR
in order to turn off what seemed to be xwork logging.
However, I'm still getting hundreds of line like these:
Could not find template in cache, c
curs.
Titus
--
View this message in context:
http://www.nabble.com/Global-exception-handling-prevents-logging-tp21050585p21093995.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubsc
on
occurs.
Titus
--
View this message in context:
http://www.nabble.com/Global-exception-handling-prevents-logging-tp21050585p21093981.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubsc
in context:
> http://www.nabble.com/Global-exception-handling-prevents-logging-tp21050585p21050585.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: user-u
trace even. How can I get both, the error page and a logfile entry?
Thanks, Titus
--
View this message in context:
http://www.nabble.com/Global-exception-handling-prevents-logging-tp21050585p21050585.html
Sent from the Struts - User mailing list archive at Nabbl
avant.com
PEOPLE :: PASSION :: EXCELLENCE
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 8:43 PM
To: Struts Users Mailing List
Subject: [OT] good logging
Every time I see this code in S2, it makes me laugh so I will share it
here (D
Every time I see this code in S2, it makes me laugh so I will share it
here (DefaultActionInvocation.java):
...
if (proxy == null) {
gripe = "Whoa! No ActionProxy instance found in current
ActionInvocation. This is bad ... very bad";
} else if (proxy.getConfig() == null) {
gripe = "Sheesh
uts 2 going and
have not yet removed things that we are not using.
Thanks,
Paul Zepernick
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 12:24 PM
To: Struts Users Mailing List
Subject: RE: Logging For SEVERE: Error filterStart
does the pkg exten
does the pkg extend the jasper pkg?
are you really using all those s2 plugins?!
(sent via mobile; too lazy to capitalize properly.)
dave
--- On Fri, 6/20/08, Paul Zepernick <[EMAIL PROTECTED]> wrote:
> From: Paul Zepernick <[EMAIL PROTECTED]>
> Subject: RE: Logging
jasper is removed, so I know the class
file is ok.
Thanks,
Paul Zepernick
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 9:56 AM
To: Struts Users Mailing List
Subject: RE: Logging For SEVERE: Error filterStart
--- On Fri, 6/20/08, Paul
--- On Fri, 6/20/08, Paul Zepernick <[EMAIL PROTECTED]> wrote:
> Yes, I turned on debug and there was a ton of information,
> but no stack trace or anything else saying why the filter
> failed to start. I do have all the Jasper dependencies in
> now (that email is a couple down).
Ah.
Not sure wh
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 9:31 AM
To: Struts Users Mailing List
Subject: RE: Logging For SEVERE: Error filterStart
I thought I already answered that? You can also narrow down the packages that
will produce DEBUG-level statements; although that might be a bit hit-or-miss
at
wrote:
> From: Paul Zepernick <[EMAIL PROTECTED]>
> Subject: RE: Logging For SEVERE: Error filterStart
> To: "'Struts Users Mailing List'"
> Date: Friday, June 20, 2008, 9:27 AM
> Another tidbit of information...The startup error only
> happen when mapi
esult type? Is there any way
to get the actual error that caused the filter not to start?
Thanks,
Paul
From: Paul Zepernick [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2008 9:07 AM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: Logging For SEV
error or something so I can figure out exactly what is missing?
Paul
From: Paul Zepernick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2008 4:23 PM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: Logging For SEVERE: Error filterStart
Thanks Dave. I
Technology
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2008 4:19 PM
To: Struts Users Mailing List
Subject: Re: Logging For SEVERE: Error filterStart
You *could* set the default log level to DEBUG, but stand back.
My initial assumption, however, would
TECTED]> wrote:
> From: Paul Zepernick <[EMAIL PROTECTED]>
> Subject: Logging For SEVERE: Error filterStart
> To: "'user@struts.apache.org'"
> Date: Wednesday, June 18, 2008, 3:37 PM
> How do we correctly setup logging in log4j to capture the
> pro
How do we correctly setup logging in log4j to capture the problem causing the
SEVERE: Error filterStart? We are trying to add in jasper reporting. We
dropped in the jar and receive this error when we configured a jasper result.
We have the log4j.properties in the classpath and have the root
trying to implement a scenario in which if the user who has not
> > > logged
> > > in clicks on a page "for logged in users only" should be
> > > redirected to "login page", and then after logging in he should be
> > > redirected
mplement a scenario in which if the user who has not logged
in clicks on a page "for logged in users only" should be
redirected to "login page", and then after logging in he should be
redirected to the page he originally requested for.
I need to implement this in struts2.Can I a
:01 PM, Jaarthy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to implement a scenario in which if the user who has not logged
> in clicks on a page "for logged in users only" should be
> redirected to "login page", and then after logging in h
Hi,
I'm trying to implement a scenario in which if the user who has not logged
in clicks on a page "for logged in users only" should be
redirected to "login page", and then after logging in he should be
redirected to the page he originally requested for.
I need to impl
(I am posting this because I have been privately asked already couple of
times)
Helping google: How do I stop the more verbose logging in Struts 2.1.x
For Tomcat users:
Struts 2 uses JCL i.e. Java Commons Logging which basically enables
users plugging any existing concrete Logging
he user a stack trace.
Making no changes other than adding a single global exception mapping
for java.lang.Exception allows me to display a better error page to the
user, but from reading the documentation I would have though that this
would break my logging, since I didn't set the logEnab
der.rollingFileAppender.MaxFileSize=1024KB
log4j.appender.rollingFileAppender.MaxBackupIndex=10
log4j.appender.rollingFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.rollingFileAppender.layout.ConversionPattern=%d %p [%c] -
%m%n*
# Control logging for other packages
l
pender.MaxFileSize=1024KB
log4j.appender.rollingFileAppender.MaxBackupIndex=10
log4j.appender.rollingFileAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.rollingFileAppender.layout.ConversionPattern=%d %p [%c] -
%m%n*
# Control logging for other packages
log4j.logger.org.apache.commons=WARN
log4j.logge
2008/2/15, Giovanni Azua <[EMAIL PROTECTED]>:
>
> My setup is:
> - Struts 2.1.x built from trunk
> - I import only commons.logging.jar and not log4j (is not allowed).
Well, if you don't use Log4J, then Commons Logging defaults to JDK
1.4logger. This link may help you:
h
hi,
I have just bumped into the same logging issue as others have. I
basically get tons of this:
WARNING: Could not find property [theme]
Feb 15, 2008 9:53:06 AM
com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn
My setup is:
- Struts 2.1.x built from trunk
- I import only
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
Hi,
I understand for struts project there needs be commons-logging.jar needs to
be placed in web-inf\lib folder.
Incase if I want to use Log4j for logging logs related to my own application
only ,is it required to configure log4j again and place 1og4j.jar in
web-inf\lib.
At present i have written
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
On Jan 8, 2008 9:04 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> i m using struct 1.3.8
...
>
> "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
>"http://struts.apache.org/dtds/struts-config_1_3.dtd";>
And earlier:
>
> 2.2//EN"
> "http://java.sun.com/j2ee/dtds
sorry for making two post ..
appreciate your help and time.
also the struct examples are working fine..
i m using velocity tools 1.3 for view
however i installed another tomcat but the same version 5.5.25 .. and
could see the logs
"hi , i m getting the following error
of which i understand the
send your struts-config.xml and requested url
r^
Dave Newton wrote / napísal(a):
It's probable there's an error in one (or more) of your S1 configuration
files.
d.
--- Sohil Rupani <[EMAIL PROTECTED]> wrote:
hi i m using Struts 1
Following is the content of my web.xml file.
Please l
It's probable there's an error in one (or more) of your S1 configuration
files.
d.
--- Sohil Rupani <[EMAIL PROTECTED]> wrote:
> hi i m using Struts 1
>
> Following is the content of my web.xml file.
> Please let me know if i m making some mistake in this ..
> Thanks
>
>
>
> PUBLIC "-//Sun
Haven't used Struts 1 for quite some time. Just to check, none of your
actions worked? Would you be able to build your application using the sample
blank WAR file to see if it can work part by part?
On Jan 8, 2008 4:09 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> hi i m using Struts 1
>
> Follow
hi i m using Struts 1
Following is the content of my web.xml file.
Please let me know if i m making some mistake in this ..
Thanks
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
action
org.apache.struts.action.ActionServlet
config
Are you using Struts 1? Please check your web.xml file.
On Jan 8, 2008 3:56 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> Hi ,
> Thanks for the reply.. appreciate you time.
>
> Following is the error i m getting on the browser..
>
> HTTP Status 404 - Servlet action is not available
> type Status
Hi ,
Thanks for the reply.. appreciate you time.
Following is the error i m getting on the browser..
HTTP Status 404 - Servlet action is not available
type Status report
message Servlet action is not available
description The requested resource (Servlet action is not available) is
not available
Hi Sohil,
Could you provide the stacktrace for troubleshooting?
Thanks.
On Jan 8, 2008 3:37 PM, Sohil Rupani <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I m new to struts , using tomcat and jdk 1.5. i m getting a error
> Servlet action not avaliable..
> which on browsing i learn that is a very common
Hi,
I m new to struts , using tomcat and jdk 1.5. i m getting a error
Servlet action not avaliable..
which on browsing i learn that is a very common error
i searched through the tomcat log where i dont see any error messages..
i would like to know where does struts creates its log.. so that i ca
Thank you. That worked perfect.
On 10/13/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> In addition to configuring log4j to use a FileAppender to write logs to
> a file, here's a very simple way to log exceptions manually from the
> exception page:
>
> Within your jsp include the following code:
>
In addition to configuring log4j to use a FileAppender to write logs to
a file, here's a very simple way to log exceptions manually from the
exception page:
Within your jsp include the following code:
<%
String stackTrace = (String)
pageContext.getAttribute("stackTrace");
new
I thought I would add this part of the stack trace in case it helps:
SEVERE: Error finishing response
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:689)
I am trying to log the exception that get cought by the struts
exception handler.
So far I have .jsp page that shows the exception:
An Exception Has occured!
=
I am going to change this page to display a generic error message. I
want to write the valu
this
action so I can not log all of the information.
Any ideas?
Thanks
Rich
On 8/2/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> My applications do not catch any errors. I let them bubble out of the
> Action and into an ExceptionHandler object for logging. You can log
> wh
Ashish Kulkarni wrote:
Hi
Does anyone have an exmple of using log4j for logging struts messages,
I have an web application where i use log4j for logging, i have a
mapslog4j.xml file in WEB-INF folder and load this log file using
DOMConfigurator in a servlet.
This servlet is loaded before struts
Hi
Does anyone have an exmple of using log4j for logging struts messages,
I have an web application where i use log4j for logging, i have a
mapslog4j.xml file in WEB-INF folder and load this log file using
DOMConfigurator in a servlet.
This servlet is loaded before struts servlet,
but some how
> 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.
Just drop a log4.properties or log4j.xml in the root of your classpath.
On 8/24/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> 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 stru
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
In my interceptor stack i added this parameter:
true
I assume it is using either commons logging or log4j but I'm not sure
where the log file is or how to manipulate what information goes into
the log file.
On 8/6/07, Dave Newton <[EMAIL PROTECTED]> wrote:
&g
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> Do I open a file stream on the JSP page or is there
a
> better way to log this information?
Use commons-logging and / or Log4J?
d.
Need a v
information?
On 8/2/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> My applications do not catch any errors. I let them bubble out of the
> Action and into an ExceptionHandler object for logging. You can log
> whatever you want -- including the user -- in the handler.
>
> Paul
&g
1 - 100 of 267 matches
Mail list logo