Question

2
Replies
668
Views
Karthik K Member since 2016 33 posts
PEGA
Posted: 2 years ago
Last activity: 2 years 10 months ago
Closed

Add a custom log file -- Category needed for custom appenders but not for PegaRules

Hi,

I need to create a custom log file. Therefore, I copied the appender tag content present for pegarules log file in prlogging.xml and pasted it by just changing the appender name to "PegaCustom" and file name pattern. Restarted the server and custom log file was not created.

But, after including a Category tag for the custom appender, it got created.

Why we need to create Category tag for the custome appender, if there is no category tag for PegaRules and PegaAlert.

Category tag is present for BIX log type and Its not present for PegaRules, PegaAlert appenders.

<category additivity="false" name="BIX">
<priority value="info"/>
<appender-ref ref="BIXSERVICES-PAL"/>
</category>

Thanks

Karthik K

Low-Code App Development System Administration
Moderation Team has archived post
Share this page LinkedIn