On 02/14/2013 09:59 AM, Scott Cowan wrote:
I'd like to be able to log a stack trace at that point if the issue is severe.
private static final Logger LOGGER =
Logger.getLogger(ThisClass.class.getName());
…
} catch (Exception x) {
LOGGER.log(Level.WARNING, "optional info", x);
}
Anything over INFO will be sent to the master log by default. You only need to
configure custom loggers if you want to enable FINE/FINER/FINEST logging in
some components.
--
You received this message because you are subscribed to the Google Groups "Jenkins
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.