Liferay provide default logging functionality, So you can instantiate your Log4j Log object through LogFactory, identified by the current class name, then enable the log category on the control panels "Log level" settings tab.
Following steps help you to logging :
Step 1: Inside your class variable declarations use this:
0 Comment(s)