add logger config
logger js