logging and same config as in nodejs version