Question
Oversea-Chinese Banking Corporation Ltd
Oversea-Chinese Banking Corporation Ltd
SG
Oversea-Chinese Banking Corporation Ltd
Posted: Aug 15, 2024
Last activity: 3 weeks 1 day ago
Last activity: 9 Jan 2025 10:26 EST
Solved
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***