Forum Bugs

JavaScript Log.info messages

randallxski
The logging methods for JavaScript described in the documentation (http://www.princexml.com/doc/8.1/javascript/) work when running from the command line. When called from the Java wrapper, the Log.info messages are not displayed in the log file, only the Log.warning and Log.error messages are included.
mikeday
Informative messages are not logged unless the --verbose option has been passed on the command-line. There is no method for this in the Java wrapper at the moment, although there probably should be.
mikeday
We have updated the Prince Java wrapper to include two new methods: setVerbose() and setDebug(), that can be used to control the level of logging.
randallxski
Thanks. They both work great!