Register the provider inside start/app.js file.
const providers = [
'@adonisjs/http-logger/providers/LoggerProvider'
]That's all :)
There is only one config setting, that is to define the environments in which the logger should run.
You have to modify the existing config/app.js file and the following setting.
module.exports = {
http: {
loggerEnv: ['development', 'production']
}
}