Use log4js to control logging better.