Define an embedded default config for logger
Add when to utils/promises
config.init accepts an initial configuration as argument