The client runtime writes errors to the console by default. In Java applications, you can modify this behavior by specifying the profile name as the Java system property djc.logFile. For example:
java -Ddjc.rmiTrace=true "-Ddjc.logFile=%DJC_HOME%\logs\rmiClientTrace.log”
For more information, see “Configuring system logging” in Chapter 3, “Creating and Configuring Servers,” in the System Administration Guide.