bwadmin Logging

bwadmin creates a log file called bwadmin.log that is written to the BW_HOME/logs folder.

The default log is configured as a daily roller appender and is automatically compressed as a ZIP file. The default logging level is INFO. The logback configuration file is BW_HOME/bin/bwadmin-logback.xml.

A bwadmin log file is created on installation, showing the runtime entities that are created by default (domain, AppSpace, and AppNode). The contents of the default log file will look similar to the following image.

bwadmin Log File on Install

To view and change the logging level for bwadmin, follow these steps.

Procedure

  1. Start bwadmin. Notice that no INFO messages are displayed:

    If bwadmin could not be started, informational messages will be displayed to help you track down the cause.

  2. Exit bwadmin.
  3. Open BW_HOME/bin/bwadmin-logback.xml in a text editor. Change the ROOT level setting (indicated below in bold font) at the end of the file as needed. This changes the level for the file appender.
    <root level="INFO">
        <appender-ref ref="STDOUT" />
        <appender-ref ref="FILE" />
    
  4. Save the logback configuration file and start bwadmin. The configuration file is reloaded in 30 seconds by default. Create a domain.
  5. Open the log file at BW_HOME/logs/bwadmin.log. More detail is captured in the log file.