Is there any way to enable WL.Logger.debug log to be displayed in Worklight Development Server Console view in eclipse?
I am using Worklight 6.1.
Is there any way to enable WL.Logger.debug log to be displayed in Worklight Development Server Console view in eclipse?
I am using Worklight 6.1.
I believe not.
See my explanation from this question: IBM Worklight 6.0 - How to enable/view WL.Logger.debug in adapters?
Copy/paste:
WebSphere Liberty profile does not support debug level logging in the Worklight Development Server Console view.
You can use
WL.Logger.debug
and editserver.xml
to view the log in thetrace.log
file<logging traceSpecification="com.worklight.*=debug=enabled"/>
<eclipseWorkspace>\WorklightServerConfig\servers\worklight\logs\trace.log
Be sure to re-deploy the adapter before attempting to view the logs.
Alternatively,
You can use
WL.Logger.warn
orWL.Logger.error
; these logs will display in the Worklight Development Server Console view.