Hi Steve,
First of all, try this, it is better:
import net.sourceforge.stripes.util.Log;
private Log logger = Log.getInstance(CalculatorActionBean.class);
// notice , instead of + for better performance
logger.error("Divide by zero error: numberOne: ", this.numberOne,
" numberTwo: ", this.numberTwo);
Next, if it still doesn't work, please post your log4j.properties file.
Finally, I don't think you need commons-logging.properties. I use log4j
all the time without it and it works fine; I think commons-logging
automatically detects the presence of log4j.
Hope that helps.
Cheers,
Freddy
http://www.stripesbook.com
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users