With Worklight 6.2 developer edition, I use the following 4 statements in an adapter, however in server.xml there is only a single "logging" property; as consequence, the 'Worklight Deployment Server' console cannot capture all of these messages:
WL.Logger.info("i");
WL.Logger.warn("w");
WL.Logger.error("e");
WL.Logger.debug("d");
sample line in server.xml:
<logging consoleLogLevel="INFO" copySystemStreams="true"/>
i.e.
set level to 'INFO', it captures 3 messages: i, w, e.
set level to 'AUDIT', it captures 2 messages: w, e.
set level to 'WARNING', it captures 2 messages: w, e.
set level to 'ERROR', it captures 1 messages: e.
What I'd like to know is how can I capture messages given by WL.Logger.debug()
or must I change it to other methods (i.e. warn(), info())?