Question
Oversea-Chinese Banking Corporation Ltd
SG
Posted: Aug 15, 2024
Last activity: Aug 28, 2024
Last activity: 28 Aug 2024 9:07 EDT
Custom Logs using Log-Message
Hi,
I have a requirement to create custom log file for a string match filter in Pega 23 version.
In an activity we use Log-Message method and always use a standard prefix "Custom Logging:"
The requirement is for these logs having Custom Logging as prefix need to go to a new log file instead of PegaRULES Log.
Couple of existing articles are there but there are referrred to prlogging.xml and we are using prlog4j2.
Can someone guide?
***Edited by Moderator Marije to change Type from Discussion to Question***