A fix is available
APAR status
Closed as documentation error.
Error description
From this page: http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.i bm.worklight.dev.doc/apiref/r_filter_log_levels.html?lang=en It says WL.Logger.on() can change the log level. However according to this page: http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.i bm.worklight.apiref.doc/html/refjavascript-client/html/WL.Logger .html?cp=SSZH4A_6.2.0%2F10-0-0-1-19&lang=en It says WL.Logger.on() is deprecated and since version 6.2. WL.Logger.on is now a NOP. WL.Logger is always enabled. Use WL.Logger.config with {'level': 'FATAL'} to reduce verbosity.
Local fix
Use WL.Logger.config with {'level': 'FATAL'} to reduce verbosity.
Problem summary
**************************************************************** * USERS AFFECTED: * * Application developers who view the knowledge center * * documentation for hybrid Logger. * **************************************************************** * PROBLEM DESCRIPTION: * * Documentation uses WL.Logger.on which is a deprecated method * * in Worklight v6.2 * **************************************************************** * RECOMMENDATION: * * - * ****************************************************************
Problem conclusion
Changed WL.Logger.on to WL.Logger.config
Temporary fix
Comments
APAR Information
APAR number
PI25497
Reported component name
WORKLIGHT ENTER
Reported component ID
5725I4300
Reported release
620
Status
CLOSED DOC
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-09-11
Closed date
2014-10-03
Last modified date
2014-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"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:
17 October 2021