Reputation: 11
If you had to implement log4j logging in IBM BPM application from scratch, what will be the step by step process with detailed explanation for a beginner level?
I know about what is the code for writing logging code but don't have any clue about how the implementation begins from scratch. var logMessage; logMessage = 'Testing logging '; Packages.org.apache.log4j.xml.DOMConfigurator.configure(tw.env.path+"xyzlog4j.xml"); var logger = Packages.org.apache.log4j.Logger.getLogger(tw.env.logpath); logger.info(logMessage);
Upvotes: 0
Views: 213