this? I really do not want to add a catch to
> > anything at all.
> >
> > vpyang
> >
> > ________
> > From: Ralph Goers
> > Sent: Tuesday, May 3, 2016 11:54 AM
> > To: Log4J Users List
> > Subject: Re: uncaught exception wi
? I really do not want to add a catch to
> > anything at all.
> >
> > vpyang
> >
> > ____
> > From: Ralph Goers
> > Sent: Tuesday, May 3, 2016 11:54 AM
> > To: Log4J Users List
> > Subject: Re: uncaught exception with log4j2
> >
> > A
anything at all.
>
> vpyang
>
>
> From: Ralph Goers
> Sent: Tuesday, May 3, 2016 11:54 AM
> To: Log4J Users List
> Subject: Re: uncaught exception with log4j2
>
> All you need is to catch the exceptions by doing:
>
> try {
> }
Is there no alternative to this? I really do not want to add a catch to
anything at all.
vpyang
From: Ralph Goers
Sent: Tuesday, May 3, 2016 11:54 AM
To: Log4J Users List
Subject: Re: uncaught exception with log4j2
All you need is to catch the
All you need is to catch the exceptions by doing:
try {
} catch (Exception ex) {
logger.error(“Uncaught exception:”, ex);
}
You would put this in your servlet, Controller or whatever the first thing in
your application is that gets control from Tomcat.
If you want to treat them speciall