Redirecting log4j stdout to an InputStream?

So, from your question, I take it you know that you can have appenders that write, for example, into a file or into stdout.

So, from your question, I take it you know that you can have appenders that write, for example, into a file or into stdout. Now, it looks like you want to write to an OutputStream of your own, which means you'll anyway need to programatically access the object. I'd then say you need to write your own appender, which is actually pretty simple.

Here's a enter link description here tutorial, though there's probably plenty (shorter) ones, depending on what you need.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions