I have an agent (actually a 'runjava task', but that does not really matter), it runs on server and gather some stats from Domino:
For example the code issue a command like below:
String console = session.sendConsoleCommand("", "!sh server");
that returns output into 'console' variable and I get needed data from it.
While other commands like:
String console2 = session.sendConsoleCommand("", "!tell runjava show tasks");
String console3 = session.sendConsoleCommand("", "!trace server1");
Return:
Command has been executed on remote server. Use 'Live' console option, in future, to view response from server.
I tried another approach and output result into file using code (no success)
String console2 = session.sendConsoleCommand("", "!tell runjava show tasks >file1.txt");
String console3 = session.sendConsoleCommand("", "!trace server1 >file2.txt");
and also via program documents like below (no success)
but that gives me same result:
Command has been executed on remote server. Use 'Live' console option, in future, to view response from server.
Is there a way to get output from Domino console somehow? (as you can see I'm fine to output results into file and read it later on with agent)
Any ideas are welcome :-)
Thanks.

What if you access ªData\IBM_TECHNICAL_SUPPORT\ and read the current file console.log?