Which should be folded into core if it passes muster, right? Gary
On Sat, Jul 19, 2014 at 6:19 PM, Gary Gregory <[email protected]> wrote: > Sounds like a great new feature for 2.1. > > Gary > > > On Sat, Jul 19, 2014 at 5:53 PM, Matt Sicker <[email protected]> wrote: > >> Basically, you can get a PrintStream and a PrintWriter instance that uses >> a Logger to write to instead of an actual OutputStream or Writer. It's an >> additional jar, so it can be added on top of Log4j 2. >> >> >> On 19 July 2014 16:44, Gary Gregory <[email protected]> wrote: >> >>> Ah, right! >>> >>> Can't dig in now, but can that be added on top of Log4j 2 or does it >>> have to be integrated _in_ log4j 2? >>> >>> Gary >>> >>> >>> On Sat, Jul 19, 2014 at 5:12 PM, Matt Sicker <[email protected]> wrote: >>> >>>> See branches/experimental/log4j-streams >>>> >>>> It's what Bruce and I worked on back when we were both newbies to >>>> development here. >>>> >>>> >>>> On 19 July 2014 16:01, Gary Gregory <[email protected]> wrote: >>>> >>>>> JDBC has this API: >>>>> >>>>> java.sql.DriverManager.setLogWriter(PrintWriter) >>>>> >>>>> How can we use that to log to Log4j 2? >>>>> >>>>> Gary >>>>> >>>>> -- >>>>> E-Mail: [email protected] | [email protected] >>>>> Java Persistence with Hibernate, Second Edition >>>>> <http://www.manning.com/bauer3/> >>>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>>>> Spring Batch in Action <http://www.manning.com/templier/> >>>>> Blog: http://garygregory.wordpress.com >>>>> Home: http://garygregory.com/ >>>>> Tweet! http://twitter.com/GaryGregory >>>>> >>>> >>>> >>>> >>>> -- >>>> Matt Sicker <[email protected]> >>>> >>> >>> >>> >>> -- >>> E-Mail: [email protected] | [email protected] >>> Java Persistence with Hibernate, Second Edition >>> <http://www.manning.com/bauer3/> >>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> >>> Spring Batch in Action <http://www.manning.com/templier/> >>> Blog: http://garygregory.wordpress.com >>> Home: http://garygregory.com/ >>> Tweet! http://twitter.com/GaryGregory >>> >> >> >> >> -- >> Matt Sicker <[email protected]> >> > > > > -- > E-Mail: [email protected] | [email protected] > Java Persistence with Hibernate, Second Edition > <http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
