Kbase P122369: How to turn on debugging in EasyAsk
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  27/10/2008 |
|
Status: Verified
GOAL:
How to turn on debugging in EasyAsk
GOAL:
Can I enable debug messages in EasyAsk
GOAL:
What are the steps to switch on debugging in EasyAsk
GOAL:
How do I debug the index build?
GOAL:
How do I debug DataWorkshop?
FACT(s) (Environment):
EasyAsk
FIX:
To turn on Server debugging while the server is up and running:
1. Go to the server and choose Server Monitor
2. Choose Debug Settings
3. Set General debugging on and Debug Level to Debug and Apply (Many specific debugging can be chosen as appropriate to the problem.)
4. Debug messages will now be logged to the server log easyaskserver.log until debugging is turned off or the server is brought back up
To turn on Server debugging when the server is down (or for next server startup):
1. Add the following line to EasyAsk.properties and EasyAskServer.lax (found in the install dir/server directory)
EADbg=true
To turn on DataWorkshop debugging:
1. Add the following line to DataWorkshop.properties and modify DataWorkshop.lax to direct debug output to the console or to a file.
(EasyAsk 9 series: these are in the install directory; EasyAsk 10 series: these are in the install/bin directory)
EADbg=true
To direct debugging to the console, modify the lax.stderr.redirect and lax.stdout.redirect line in the appropriate lax file to be as follows:
lax.stderr.redirect=console
lax.stdout.redirect=console
To direct debugging output to a file, modify the lax.stderr.redirect and lax.stdout.redirect line in the appropriate lax file to reference a file.
Example:
lax.stderr.redirect=C:\\EasyAskinstall\\filename.txt
lax.stdout.redirect=C:\\EasyAskinstall\\filename.txt
To turn on debugging for EasyAsk utilities that are involved in an index build:
1. Add the following line to the individual utility lax files: ProductIndexer.lax, AttributeUtility.lax, Categorizer.lax, DictionaryDeployer.lax, CrossSell.lax, Synchronize.lax,FeaturedItem.lax
and direct debug output to the console or to a file (see instructions above)
(EasyAsk 9 series: these are in the install directory; EasyAsk 10 series: these are in the install/bin directory)
EADbg=true