IBM Support

PI24870: AN EXTRA <LOGGING> ENTRY IS ADDED TO SERVER.XML FILE CAUSING CUSTOM LOGGING SETTINGS TO BE IGNORED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Worklight Studio 6.2, if you open Worklight Development
    Server's server.xml file, look for the existing <logging
    consoleLogLevel="AUDIT" copySystemStreams="false"/> entry, then
    modify it to use a custom setting, for example
    consoleLogLevel="INFO", then restart Worklight Studio.
    
    When Worklight Studio has completed restarting, if you navigate
    to server.xml file again, you fill find an extra <logging> line
    to the end of the server.xml file:
    <logging consoleLogLevel="AUDIT" copySystemStreams="false"/>
    
    Since this line comes later in the file, it takes precedence
    over the first line for the server, causing your custom setting
    to be ignored.
    

Local fix

  • A workaround is to not remove the appended element and to
    reverse both the <logging> elements order so that the customer's
    one is taken into account.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Worklight Studio that want to change the logging    *
    * level                                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The code was changed to fix the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24870

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-29

  • Closed date

    2014-11-04

  • Last modified date

    2014-11-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021