Refer to the log4J logging Documentation. Use the jar file provided by Apache and then write Java services to log (INFO,ERROR,DEBUG etc levels) the messages. Use the log4j config file to configure the write path (can be a file or a database).
Sorry for follow up this old thread.
I have the same requirement. I’m trying to create custom log using log4j.
I tried to create a java service then use log4j as my application logging.
But I can’t import “org.apache.log4j.*” in my service.
I’ve already copy log4j.jar in packages\logging\code\jars
and log4j.properties in pub folder.
I’m trying to find this “Mark’s log4j” package. I’m aware that it was available in the wmusers, but I’m having a hard time to find it in the TechCommunity site.
Can you share me the ink to download it?