Question

2
Replies
84
Views
Close popover
Masashi Tsuneizumi (tsunm)
PEGA
Principal Sales Engineer
Pegasystems Inc.
JP
tsunm Member since 2014 15 posts
PEGA
Posted: February 21, 2019
Last activity: March 22, 2019
Closed

When is application name in PegaRULES.log empty?

PegaRULES.log contains application name that is defined in prlog4j2.xml as follows.

<Pattern>%d [%20.20t] [%10.10X{pegathread}] [%20.20X{tenantid}] [%20.20X{app}] (%30.30c{3}) %-5p %X{stack} %X{userid} - %m%n</Pattern>

(The "{app}" indicates application name.)

Usually the application name is output when log message is added by an operator's action like below.

2019-02-21 12:12:07,836 [http-nio-8740-exec-8] [TABTHREAD4] [ ] [ DemoApp1:01.01.02] (rnal.mgmt.InitialConfiguration) INFO localhost|0:0:0:0:0:0:0:1 admin.demo1 - Servlet classes: C:\Pega7\PRPCPersonalEdition\tomcat\lib\servlet-api.jar

However, it doesn't show application name in some other cases. For example, log message which is output in the activity invoked by File Listener doesn't show application name even though it configures Requestor Login.

2019-02-21 15:25:00,914 [ FILE-Thread-40] [ STANDARD] [ ] [ ] (_DemoApp1_Data_Keyvalue.Action) INFO File.Services|A4BVBX5NDUS5O19GZAWAU38FGGWZRBZSK|1649111094.1550730300881000|PegaJPDemoApp1DataKeyvalue/Services/ProcessData Manager.DemoApp1 - ProcessRecord is called

Is there any condition to show or not show application name in the log? (e.g., all agents and listeners won't show application name).

Pega Platform System Administration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.