fix a bug that throwe erros when log4js be use in other bin nide_moudle,