Search and replace:
"System.out.println(" -> "logger.debug("
Then add a logger definition to each base class.

James A. N. Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/



On Fri, Dec 26, 2008 at 8:28 AM, Ariel <[email protected]> wrote:
> Hi everybody:
>
> I am newbie with log4j, I have made a distributed and multithreaded
> application where all the logging is made displaying de mesagges in the
> console using System.out.println. Now I want to redirect those messages to a
> file to have a trace of all the messages. Is there anyway to telling log4j
> that all the System.out messages write them into a file ???
> Please could you help me ?
> Regards
> Ariel
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to