The BMC Helix Innovation Suite product is now renamed to BMC Helix Platform. To view the latest documentation, see BMC Helix Platform.

If you have bookmarked these pages, you should update them with the new links.

Enabling browser logging in a Digital Service application

BMC Helix Innovation Suite platform provides logging capabilities that you can use to track the activities and debug issues with the Digital Service application. The logs provide information about the actions invoked in the client during interactions with an application. All the log messages are logged to the browser console. You can view all the server logs and user interface logs in the browser console by adding debug parameter to an application URL. 

To enable logging in code-based applications

  1. In the application, to open the browser console, press F12.
  2. On the browser console, navigate to the Console tab.
  3. Add ?debug parameter in the application URL.
    For example, http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug#/approval/console
    The logs are populated in the browser console.
  4. To get the logger, use ServiceLocator from com.bmc.arsys.rx.application.common and use getLogger() function.

    You will get a and method like can be used to log.

    For example: 

     public Logger getLogger() {
            if (logger == null) {
                logger = ServiceLocator.getLogger();
            return logger;
       getLogger().info(“Custom message to log”)

To enable logging in codeless applications

  1. In the application, to open the browser console, press F12.
  2. On the browser console, navigate to the Console tab.
  3. Add ?debug parameter in the application URL as follows:
    http://<server>:<jetty port>/innovationsuite/index.html?debug#/BUNDLEID/view/BUNDLEID.VIEWNAME
    For example, http://<server>:<jetty port>/innovationsuite/index.html?debug#/com.example.MyApp/view/com.bmc.arsys.rx.approval:Approval%20Console
    The logs are populated in the browser console.

Logging levels

You can specify the following logging levels in the debug parameter to filter the log messages:

Logging level Description Example (code-based application)
Server logs
sql Logs SQL logs executed on the server http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=sql#/approval/console
api Logs server API messages to the console http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=api#/approval/console
rule Logs rules execution information to the console http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=rule#/approval/console
process Logs processes execution information to the console http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=process#/approval/console

Logs messages when any of the following events occurs:

  • A request is send or a request is resolved.
  • The application state is changed.
  • An action is executed.
  • An expression is evaluated.
http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=debug#/approval/console
bundle Logs all the messages for the custom code


Client logs

Logs messages of information level from the application.

http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=info#/approval/console
warning Logs warning messages from the server or messages logged from the application. http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=warning#/approval/console
error Logs error messages when any request fails or client code errors occur. http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=error#/approval/console

To add multiple logging levels to the debug parameter, separate the logging levels using comma. For example, to enable server logging level and info level, specify the logging levels in the URL as follows:

http://<server>:<jetty port>/com.bmc.arsys.rx.approval/index.html?debug=api,sql,info#/approval/console

If no value is passed to the debug parameter, all the logging levels are enabled.  

Was this page helpful? Yes No Submitting... Thank you


  1. Madhura Pawar

    To enable logging in code-based applications: Now I want to debug a code-based application so I will be using ?debug=bundle ..right ?.. But what should I be writing inside the code to what is the equivalent for System.out.println() for it ? Please help!

    Nov 20, 2018 03:39
  2. Prajakta Wakde

    HI Madhura,

    We are working on this comment and will update the document accordingly.

    Nov 25, 2018 10:27
  3. Prajakta Wakde

    Hello Madhura,

    To debug a code-based application, you are using the correct way to debug it - "?debug=bundle".

    Please refer to step 4 in "To enable logging in code-based applications" section for the steps required to be written inside the code to debug the application. 



    Dec 20, 2018 12:06