The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ynnsrinivas (7) [Avatar] Offline
#1
hi all,

we can redirect the standard output to a text file by creating a OutputRouter and then using
printout.

but how can we store contents of which rules fired and what are the facts in working memory in to text file.
ejfried (326) [Avatar] Offline
#2
Re: we can redirect standard output but what about complier output
In Jess 6, "watch" output goes to the router named WSTDOUT, which you can redefine. In Jess 7, there are special methods for redirecting the watch output.

PLEASE read the manual, the whole thing.