webMethods and Intelligent Business Operations 10.2 | Designing and Implementing Composite Applications | webMethods CAF and OpenCAF Development Help | User Interface Controls Concepts | Client-Side Libraries | Logger | Logger Bookmarklet
 
Logger Bookmarklet
INFO and DEBUG log messages are not displayed in the user interface by default, but you can view them by installing the Composite Application Framework Logger bookmarklet from an instance of My webMethods Server:
http://your.server:port/wm_cafshared/ui/js/bookmarklet/
From that page, drag the CAF Logger link to your browser's bookmark tool bar. To use the bookmarklet, first navigate to a composite application page, and then click it. A CAF Logger window pops up, containing all the Composite Application Framework messages logged to the main window or tab, if you use Firefox or Internet Explorer.
You can clear the old log messages using the Clear button on the CAF Logger window. You can limit the log messages displayed by entering a regular-expression into the Regexp match field. For example, if you type Info into the field and press ENTER, only messages with the string Info in them such as messages logged at the INFO level, are displayed. Delete the contents of the field and press ENTER to re-display all messages.
You can evaluate a line of JavaScript in the context of the main window or tab, if you use Firefox or Internet Explorer by entering some JavaScript into the Quick eval field at the bottom of the Composite Application Framework Logger window. For example, if you type document.location.href into the field and press ENTER, a message is logged with the main window's or tab, if you use Firefox or Internet Explorer page URL. When the Quick eval field is focused, you can use the up and down arrow keys to scroll through the list of previously entered commands similar to the history feature of a UNIX shell.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release