Hello Everyone, I am buiding an application that needs get all system messages. Well I have tried use this code bellow:
printStream = new PrintStream( new BufferedOutputStream( new FileOutputStream("OutFile.txt") ), true );
System.setOut( printStream );
System.setErr( printStream );
And it works very weel to get System.out and System.err messages, but not all messages, for example, if I call another application to run and this application execute a command System.out.println() by yourself this message should be write in OutFile,txt, but it does not. So, I need to know how could I get ALL system messages from my application. Could someone help me?
Thank's in advance.