Ejscript FAQ

If your question is not answered here, please see the Embedthis Licensing FAQ or the Ejscript Source Code FAQ. You may submit your question to the online community support Forum.

Questions

Answers

How can I trouble-shoot with trace?

Run ejscript with the logging switch "--log". The logging switch takes the following parameters:

ejs --log logName[:logLevel][.maxSize]

Where logLevel is a number between 0 and 9. Zero is the least verbose. MaxSize is the maximum size of the log file in MB. When the maximum size is exceeded, the log file will be rotated to logName.old and a new log file will be started.

With the default binary distribution or if ejs is built in debug mode, level 2 will then trace each source code instruction and assembler instruction as it is executed.

 

If you have any further questions, please ask a question at the Forum.

© Embedthis Software, 2003-2008. All rights reserved. Privacy Policy and Terms of Use.   Generated on Aug 14, 2008.