Corda Server Debug Mode

When diagnosing problems with Corda Server™, it is often useful to turn on debug mode. Debug mode outputs helpful information about the images that the Corda Server is generating, such as size and output format. Also, if you select verbose debug mode, the Corda Server outputs every request string it receives to the console.

View debug information in Corda Server Administrator by selecting Debugging & Logging > View Console Output. Console output is saved in <product_root>\Server\tmp/CordaAgent.log . The log file from the last Corda Server session is saved in <product_root>\Server\tmp\CordaAgent_last.log . Sometimes it is useful to examine the contents of this file as well.

If you are serving Highwire™ documents and the debug option is enabled, Corda Server outputs a note of all errors encountered as it translated the Web document. This note appears in the top left corner of each page in the PDF document where an error occurred.

Turn on debug mode by checking the Enable Debug Mode box on the Debugging & Logging > Debug Settings page of Corda Server Administrator. Switch between normal and verbose debug mode with the normal and verbose radio buttons.

Warning: Request strings can be very large. Console output is stored in a text file on the server, so running the Corda Server in debug verbose mode for an extended period of time can create a very large output file. Consider running Corda Server in debug verbose mode only when specifically necessary.

Running Corda Server in Console Mode

Corda Server provides a mode for debugging that displays any Corda Server messages in an active console window.

To run the Corda Server in console mode, select the Corda Server with Console icon inside the Corda® 7 shortcut folder or run the <product_root>\Server\StartcordaServer executable.

Note: If you are not running in console mode, view console output in Corda Server Administrator by going to the Debugging & Logging > View Console Output.