small improve to log4js call