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 <davelnew...@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
> <darrenkarst...@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 <laiqi...@gmail.com> wrote:
> > > try the tag
> > > <s:debug/>
> > > on the page
> > >
> > >
> > > Regards,
> > > Mead
> > >
> > >
> > > On Wed, Oct 6, 2010 at 9:37 PM, Darren Karstens <
> > darrenkarst...@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-unsubscr...@struts.apache.org
> > >> For additional commands, e-mail: user-h...@struts.apache.org
> > >>
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>

Reply via email to