If you prefer, you can create a custom logging system configuration file and pass it to the deployed application as a deployment parameter at runtime. Custom logging system configuration files provide more flexibility. Development team members can use their own customized files as they develop applications instead of using one file shared by all. Also, you can create a configuration file for each application you deploy with only one application monitor enabled per file. This makes the file less cluttered and more readable. For your convenience, a logger.xml template is provided for you in the workspace/settings directory. Open this template, add your custom loggers and handlers, and save it to any location with any name. When deploying the application, remember to copy this file to the web server with the other project files. To pass the custom logging system configuration file as a deployment parameter, add the jsx_logger_config attribute to the script element on the page that launches the application. The value of the attribute should be an absolute URI or the relative path from the HTML launch page to the logging system configuration file. <script type="text/javascript" src="JSX/js/JSX30.js" jsxapppath="../workspace/JSXAPPS/samples/WSDL_Mapping_1/" jsx_logger_config="loggers/mylogger.xml"> </script> For more information, see Deployment Parameters. |
Contents
|
