I have implemented the following simple HTTP adapter in order to introduce myself to Worklight Adapters. It works correctly.
However, I can\'t see in the Eclipse Wor
Try to use WL.Server.info() instead of .debug(). In general - see this blogpost, it explains a lot about debugging and logging https://www.ibm.com/developerworks/community/blogs/worklight/entry/logging_and_debugging_on_worklight_server?lang=en
WebSphere Liberty profile does not support debug level logging in the Worklight Development Server Console view.
You can use WL.Logger.debug and edit server.xml to view the log in the trace.log file
<logging traceSpecification="com.worklight.*=debug=enabled"/><eclipseWorkspace>\WorklightServerConfig\servers\worklight\logs\trace.logBe sure to re-deploy the adapter before attempting to view the logs.
Alternatively,
You can use WL.Logger.warn or WL.Logger.error; these logs will display in the Worklight Development Server Console view.