struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mead Lai <laiqi...@gmail.com>
Subject Re: Logging not working
Date Wed, 06 Oct 2010 23:03:44 GMT
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 <davelnewton@gmail.com> wrote:

> What do you have your log levels configured as? For struts, xwork, and
> OGNL?
>
> Dave
>
> On Wed, Oct 6, 2010 at 10:39 AM, Darren Karstens
> <darrenkarstens@gmail.com>wrote:
>
> > The <s:debug/> tag worked, thanks that will come in handy. I would
> > still like to get errors reporting in the logs, any got any ideas?
> >
> > On Wed, Oct 6, 2010 at 2:39 PM, Mead Lai <laiqinyi@gmail.com> wrote:
> > > try the tag
> > > <s:debug/>
> > > on the page
> > >
> > >
> > > Regards,
> > > Mead
> > >
> > >
> > > On Wed, Oct 6, 2010 at 9:37 PM, Darren Karstens <
> > darrenkarstens@gmail.com>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 <project-root>/WEB-INF/lib
> > >> folder and have the <constant name="struts.devMode" value="true" />
> > >> line in my struts.xml file. Despite this I have never seen an error in
> > >> my log files. Is there something im missing here? Would the errors
> > >> appear in the same log as servlet exceptions
> > >> (<tomcat>/logs/localhost.xxxx-xx-xx.log)?
> > >> Thanks in advanced,
> > >> Darren
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > >> For additional commands, e-mail: user-help@struts.apache.org
> > >>
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message