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