It's all about the answers!

Ask a question

RPE: _sessionLogger throws error


Chidambaram L (23414077) | asked Jul 13 '22, 7:35 a.m.
edited Jul 13 '22, 7:37 a.m.
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.

One answer



permanent link
Subramanya Prasad Pilar (4.6k15) | answered Jul 13 '22, 7:45 a.m.

 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");                                            

Your answer


Register or 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.