how to make a java program run on remote machine such that its logged messages are made available to me
<p>I want to run a java program on a remote machine.</p>

<p>Also, I want all of the log messages which are logged by that program, to be available to me in another machine. A plus would be if I could filter/receive messages of a certain type, eg DEBUG messages/ ERROR messages only.</p>

<p>Is this possible? I dont want to change the code of the program that will actually be run on the remote machine.</p>
