Skip to Content
Jun 01, 2009 at 11:16 AM

How to use logging in the actions classes extends standart actions?



I have some action classes extends standart actions, for example Z_ExtMaintainBasketDispatcherAction extends MaintainBasketDispatcherAction. I tried to use logging functionality in my classes but there were no my lines in log and trace files.

For example I added followed lines in basketPerform() method of Z_ExtMaintainBasketDispatcherAction:

boolean isDebugEnabled = log.isDebugEnabled();
log.debug("++++++++++++++++ Test tracing in B2B_SNG. ++++++++++++++++");


but in there was no such line neither in log file nor in trace file.

How I can use logging functionality in my own classes? I need it for tracing and logging.

CRM 5.0

regards, Lev