Michael I did refer to your two week old reply for a similar question. I am able to write a java program (say program2) , which redirects stdout & stdin to log file. But, I am not sure, how do I redirect the stdout of already running program (JVM) to stdin of my new program (JVM). Should I use pipes ? If will be helpful, if you could provide complete syntax of the command. Please note that I donot have the option to modify the source of the already existing java program (say program1). Thanks --- On Fri, 1/16/09, Michael Erskine <[email protected]> wrote:
From: Michael Erskine <[email protected]> Subject: RE: Logging messages directed to stdout To: "Log4J Users List" <[email protected]> Date: Friday, January 16, 2009, 11:49 AM > From: Jay [mailto:[email protected]] > Subject: Logging messages directed to stdout > 2) The new logging mechanism should not have any impact on the > performance of the application or the system Not possible: unless you get a faster machine :p I seem to answer this question every week - it isn't hard to redirect stdout and stderr and any programmer should able to do it. Regards, Michael Erskine. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
