|
Hi,
IceGrid uses the Ice.StdErr and Ice.StdOut properties to redirect the server output. The standard error/output is redirected by the server Ice communicator when it's initialized (with the java.lang.System.setOut/setErr methods). I suspect your prolog JNI library continues to log to the old stdout/stderr instead of using the new standard output/error.
One solution to get this working would be the write a small wrapper to redirect stderr/stdout and then spawn the Java process. IceGrid would use this wrapper instead of directly using the java executable.
Cheers,
Benoit.
|