Jump to Real's How-to Main page

Write to the Jaguar log

Powerbuilder
ErrorLogging errlog
this.GetContextService("ErrorLogging", errlog)
errLog.log("HI, I'M IN YOUR SERVER LOG")
Java
Since 3.6.1, anything sent to System.out/err will be in the server log. To nicely format your message, you can use a Sybase utility method like this.
com.sybase.jaguar.server.jaguar.writeLog
   (true, "HI, I'M IN YOUR SERVER LOG");

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]