Print the data extract logs to a separate log file

Hi All,

Below is the OOTB configuration for log publisher.

How we can add any other logger/custom logger here ?

Regards,

Prashansa

Did you forgot to attach the screenshot?

Please describe what you need to configure. Will help accordingly.

@Prash - Please share the current configuration

For a custom logger configuration in rule/beanshell, perform the steps below:

--------------------------------------------------------------
In log4j.properties File:
--------------------------------------------------------------
log4j.logger.[UniqueName].[ruleName] = [logLevel]


In Beanshell code:

import org.apache.log4j.Logger

Logger customLogic = Logger.getLog("[UniqueName].[ruleName]");

customLogic.info();
1 Like

I hope this is what you are looking for as per your description. Thanks

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.