logixlysia
logixlysia copied to clipboard
Getting two logs by default
Just trying out the latest version. I am getting both the pino json log and the custom format. How do I get rid of the json ?
.use(
logixlysia({
config: {
customLogFormat: "{now} {level} {duration} {method} {pathname} {status}",
},
})
)
{"level":30,"time":1764152216129,"pid":1214082,"method":"GET","url":"http://localhost:3000/","status":200,"message":"","metrics":{"memoryUsage":18.433401107788086,"cpuUsage":4.45959},"duration":2.970252,"msg":"Request processed"} 2025-11-26T10:16:56.129Z INFO 4ms GET / 200