On Dec 27 2010, 12:11 pm, Mauro Bertapelle
<[email protected]> wrote:
> // initialize logger with custom formatter
> static {
> Handler handlers[] = Logger.getLogger("").getHandlers();
> for (Handler handler : handlers) {
> handler.setFormatter(new CustomFormatter(false));
> }
> }
> ....
Am I missing something, or do log formatters not work with the log
output to the 'Console' tab in Eclipse? I never seem to have any
handlers returned from getHandlers(), but somehow I'm getting log
output there... That date/class line simply crushes readability, and
the Eclipse panel seems like an ideal place to be monitoring output...
Feel like an idiot after spending an hour fooling with this... :-(
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.