Well, there's WSTDERR, which Jess uses to print error messages to. By
default, it's attached to System.out, but if you want it to go to
System.err, (or for that matter, if you want to create a new router
that goes to System.err) just do something like

(call (engine) addOutputRouter "WSTDERR"
      (new java.io.PrintWriter (get-member System err)))

You can change WSTDERR to any other name if you want to create a new
router instead of redirecting WSTDERR.

I think Gyhra, Norman (Student Assistant) wrote:
> Are there any plans to implement an errout router identifier for the
> printout function ?




---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to