Using log4php for debug.