Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RPE: _sessionLogger throws error

I am using RPE 7.0.0.


Throws error in Console:
CRRPE3022E The JavaScript expression could not be evaluated.
ReferenceError: "_sessionLogger" is not defined. (src1#558)

In rpe.log
13-07-2022T16:53:56:888 [RRDG_1:334-CORE] CRRPE3022E The JavaScript expression could not be evaluated. ReferenceError: "_sessionLogger" is not defined. (src1#558) org.mozilla.javascript.EcmaError: ReferenceError: "_sessionLogger" is not defined. (src1#558)

How to write debugging content into rpe.log, console log is getting cleared every few minutes, even if the limit is increased.

0 votes



One answer

Permanent link

 Looks like RPE internal variable "_sessionLogger" is not selected. Please open the Script Expression and select the checkbox for _sessionLogger. You can generate log entries with one of the following methods:
_sessionLogger.debug(message)
_sessionLogger.info(message)
_sessionLogger.error(message)
_sessionLogger.warn(message)

ex: _sessionLogger.warn("This will be shown in the rpe.log file");                                            

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Jul 13 '22, 7:35 a.m.

Question was seen: 858 times

Last updated: Jul 13 '22, 7:45 a.m.

Confirmation Cancel Confirm