[slf4j-dev] [Bug 110] Create a bridge between System.out/System.err and SLF4J

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Tue Apr 21 16:51:44 CEST 2009


http://bugzilla.slf4j.org/show_bug.cgi?id=110





--- Comment #3 from Robert Elliot <robert at teviotia.co.uk>  2009-04-21 16:51:43 ---
Hi Ceki,

Sorry not to get back to you earlier.  I've been trying to work out how to
aggregate the various print calls made to LogPrintStream by
Throwable.printStackTrace().  The problem I cannot solve is how to work out
when the stack trace has ended and hence when it is time to flush the
aggregated stack trace lines to SLF4J.  Within the PrintStream I have no way of
knowing anything about that Throwable other than the line it is currently
printing - as far as I know I cannot retrieve a reference to the actual
Throwable instance from the execution stack, and there is no reliable way to
recognise the last line of a stack trace from its content.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the slf4j-dev mailing list