commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Cucchiara <mcucchi...@apache.org>
Subject Re: commons-email sending email twice?
Date Fri, 29 Mar 2013 19:43:42 GMT
if you want obtain the system.out from a scheduled job, you can redirect
the output on a file:

for example:

scheduled_job > /tmp/out.txt

Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara

Maurizio Cucchiara


On 29 March 2013 20:30, David Hoffer <dhoffer6@gmail.com> wrote:

> This runs as a cron job...so no console is used.  Not sure then how to get
> the debug info...may have to reconfigure to run in console.  Perhaps I can
> configure log4j to redirect System.out and System.err...I'll check that.
>
> -Dave
>
>
> On Fri, Mar 29, 2013 at 12:34 PM, Thomas Neidhart <
> thomas.neidhart@gmail.com
> > wrote:
>
> > On 03/29/2013 01:32 PM, David Hoffer wrote:
> > > Hum, I set setDebug(true) but I'm not seeing more info the logs...and
> > > logging is set to DEBUG level.  How do I configure this so the debug
> goes
> > > to the log?
> >
> > the debug output will go to System.out or System.err, so you will not
> > find it in the output of your logging provider.
> >
> > Thomas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
>

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