Added logging with Log4JS